Class: CommandsTasks
- Inherits:
-
Thor
- Object
- Thor
- CommandsTasks
show all
- Includes:
- BEM::Actions, Thor::Actions
- Defined in:
- lib/bem/commands_tasks.rb
Class Method Summary
collapse
Instance Method Summary
collapse
#build_with, #destroy_with
Class Method Details
.source_root ⇒ Object
5
6
7
|
# File 'lib/bem/commands_tasks.rb', line 5
def self.source_root
File.join(Rails.root.to_s, 'lib', 'bem', 'templates')
end
|
Instance Method Details
#create ⇒ Object
19
20
21
|
# File 'lib/bem/commands_tasks.rb', line 19
def create
build_with options
end
|
#destroy ⇒ Object
31
32
33
|
# File 'lib/bem/commands_tasks.rb', line 31
def destroy
destroy_with options
end
|