Class: AppRail::Airtable::Generator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- AppRail::Airtable::Generator
- Includes:
- Thor::Actions
- Defined in:
- lib/app_rail/airtable/generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
27 28 29 |
# File 'lib/app_rail/airtable/generator.rb', line 27 def self.exit_on_failure? true end |
.source_root ⇒ Object
18 19 20 |
# File 'lib/app_rail/airtable/generator.rb', line 18 def self.source_root File.join(File.dirname(__FILE__), '..', '..', '..') end |
Instance Method Details
#create_project ⇒ Object
22 23 24 25 |
# File 'lib/app_rail/airtable/generator.rb', line 22 def create_project validate_airtable_schema directory('templates/project', output_directory) end |