Class: Ree::ImportDsl::RemovedConstant
- Defined in:
- lib/ree/dsl/import_dsl.rb
Instance Attribute Summary collapse
-
#const ⇒ Object
readonly
Returns the value of attribute const.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, const) ⇒ RemovedConstant
constructor
A new instance of RemovedConstant.
Constructor Details
#initialize(name, const) ⇒ RemovedConstant
Returns a new instance of RemovedConstant.
48 49 50 51 |
# File 'lib/ree/dsl/import_dsl.rb', line 48 def initialize(name, const) @name = name @const = const end |
Instance Attribute Details
#const ⇒ Object (readonly)
Returns the value of attribute const.
46 47 48 |
# File 'lib/ree/dsl/import_dsl.rb', line 46 def const @const end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
46 47 48 |
# File 'lib/ree/dsl/import_dsl.rb', line 46 def name @name end |