Class: CoreDataParser::Command

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/core-data-parser/command.rb

Instance Method Summary collapse

Instance Method Details

#parse(xcdatamodel) ⇒ Object

method_option :template, :type => :boolean, :aliases => “-t”, :desc => “Only display template that would be used”



10
11
12
# File 'lib/core-data-parser/command.rb', line 10

def parse(xcdatamodel)
  CoreDataParser.parse(xcdatamodel, options[:prefix])
end