Class: Immutabler::DSL::ModuleImport
- Inherits:
-
Object
- Object
- Immutabler::DSL::ModuleImport
- Defined in:
- lib/immutabler/dsl/module_import.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
Returns the value of attribute class_name.
-
#module_name ⇒ Object
Returns the value of attribute module_name.
Instance Method Summary collapse
-
#initialize(module_name, class_name) ⇒ ModuleImport
constructor
A new instance of ModuleImport.
Constructor Details
#initialize(module_name, class_name) ⇒ ModuleImport
Returns a new instance of ModuleImport.
6 7 8 9 |
# File 'lib/immutabler/dsl/module_import.rb', line 6 def initialize(module_name, class_name) @module_name = module_name @class_name = class_name end |
Instance Attribute Details
#class_name ⇒ Object
Returns the value of attribute class_name.
4 5 6 |
# File 'lib/immutabler/dsl/module_import.rb', line 4 def class_name @class_name end |
#module_name ⇒ Object
Returns the value of attribute module_name.
4 5 6 |
# File 'lib/immutabler/dsl/module_import.rb', line 4 def module_name @module_name end |