Class: Immutabler::DSL::ModuleImport

Inherits:
Object
  • Object
show all
Defined in:
lib/immutabler/dsl/module_import.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject

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_nameObject

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