Class: Creact::Generate
- Inherits:
-
Thor
- Object
- Thor
- Creact::Generate
- Defined in:
- lib/creact/cli.rb
Instance Method Summary collapse
-
#generate(template = nil) ⇒ Object
option :upcase.
Instance Method Details
#generate(template = nil) ⇒ Object
option :upcase
21 22 23 24 25 26 |
# File 'lib/creact/cli.rb', line 21 def generate( template=nil ) # greeting = "Hello, #{template}" # greeting.upcase! if options[:upcase] # puts greeting Creact::FileOperations.run_generator end |