Advertisement
Guest User

Untitled

a guest
Dec 5th, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.19 KB | None | 0 0
  1.  case class example(  name : String = "" , number : String ) {
  2.       def apply() = component(this)
  3.       }
  4.  
  5. i want to access my component like this = example(number = "dude")
  6.  
  7. is it possible ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement