Module: RailsAssist::Artifact::Directory::Methods
- Defined in:
- lib/rails_assist/artifact/directory.rb
Constant Summary collapse
- DIR =
RailsAssist::Directory
- APP_DIR =
RailsAssist::Directory::App
Instance Method Summary collapse
- #migration_dir(options = {}) ⇒ Object
- #migration_dirpath(options = {}) ⇒ Object
- #observer_dir(options = {}) ⇒ Object
- #observer_dirpath(options = {}) ⇒ Object
Instance Method Details
#migration_dir(options = {}) ⇒ Object
61 62 63 |
# File 'lib/rails_assist/artifact/directory.rb', line 61 def migration_dir ={} migration_dirpath().dir end |
#migration_dirpath(options = {}) ⇒ Object
57 58 59 |
# File 'lib/rails_assist/artifact/directory.rb', line 57 def migration_dirpath ={} [DIR.db_dirpath(), 'migrate'].file_join end |
#observer_dir(options = {}) ⇒ Object
69 70 71 |
# File 'lib/rails_assist/artifact/directory.rb', line 69 def observer_dir ={} observer_dirpath().dir end |
#observer_dirpath(options = {}) ⇒ Object
65 66 67 |
# File 'lib/rails_assist/artifact/directory.rb', line 65 def observer_dirpath ={} model_dir().path end |