Class: GenerateModel
- Inherits:
-
IRB::Command::Base
- Object
- IRB::Command::Base
- GenerateModel
- Defined in:
- lib/alet/irb/command/generate_model.rb
Instance Method Summary collapse
Instance Method Details
#execute(arg) ⇒ Object
6 7 8 9 |
# File 'lib/alet/irb/command/generate_model.rb', line 6 def execute(arg) object_types = arg.split(' ').map{|s| s.tr(' ', '')} Yamori.generate(*object_types) end |