Class: Optimus::Implementation
- Inherits:
-
Object
- Object
- Optimus::Implementation
- Defined in:
- lib/optimus/implementation.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#interface ⇒ Object
readonly
Returns the value of attribute interface.
-
#parser ⇒ Object
readonly
Returns the value of attribute parser.
Instance Method Summary collapse
-
#initialize(parser, interface) ⇒ Implementation
constructor
A new instance of Implementation.
Constructor Details
#initialize(parser, interface) ⇒ Implementation
Returns a new instance of Implementation.
24 25 26 27 |
# File 'lib/optimus/implementation.rb', line 24 def initialize (parser, interface) @parser = parser @interface = interface end |
Instance Attribute Details
#interface ⇒ Object (readonly)
Returns the value of attribute interface.
22 23 24 |
# File 'lib/optimus/implementation.rb', line 22 def interface @interface end |
#parser ⇒ Object (readonly)
Returns the value of attribute parser.
22 23 24 |
# File 'lib/optimus/implementation.rb', line 22 def parser @parser end |