Class: Card::Generators::NamedBase
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Card::Generators::NamedBase
show all
- Extended by:
- ClassMethods
- Defined in:
- lib/generators/card.rb
Instance Method Summary
collapse
banner, source_root
Instance Method Details
#mod_path ⇒ Object
31
32
33
34
35
36
37
|
# File 'lib/generators/card.rb', line 31
def mod_path
@mod_path ||= begin
path_parts = ["mod", file_name]
path_parts.unshift Cardio.gem_root if options.core?
File.join(*path_parts)
end
end
|