Created
June 28, 2018 11:36
-
-
Save yogacp/b34c28376dff68cbb6b07971442a3ceb to your computer and use it in GitHub Desktop.
Movie DSL 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Create function to store movies data | |
*/ | |
fun movies(inputs: Movies.() -> Unit): Movies = Movies().apply(inputs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment