Class: Isomer::Base
- Inherits:
-
Object
- Object
- Isomer::Base
- Defined in:
- lib/isomer/base.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
readonly
Returns the value of attribute base.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(source) ⇒ Base
Returns a new instance of Base.
20 21 22 |
# File 'lib/isomer/base.rb', line 20 def initialize(source) @source = source end |
Instance Attribute Details
#base ⇒ Object (readonly)
Returns the value of attribute base.
2 3 4 |
# File 'lib/isomer/base.rb', line 2 def base @base end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
2 3 4 |
# File 'lib/isomer/base.rb', line 2 def source @source end |