Class: DMGen::Adapter
- Inherits:
-
Templater::Generator
- Object
- Templater::Generator
- DMGen::Adapter
show all
- Includes:
- PluginGenerator
- Defined in:
- lib/dm-gen/generators/adapter.rb
Instance Method Summary
collapse
#destination_root, included, #snake_name
Instance Method Details
#class_name ⇒ Object
20
21
22
|
# File 'lib/dm-gen/generators/adapter.rb', line 20
def class_name
"#{name.camel_case}Adapter"
end
|
#gem_name ⇒ Object
16
17
18
|
# File 'lib/dm-gen/generators/adapter.rb', line 16
def gem_name
"dm-#{snake_name}-adapter"
end
|