Class: SubDiff::Adapter
- Inherits:
-
Object
- Object
- SubDiff::Adapter
- Extended by:
- Forwardable
- Defined in:
- lib/sub_diff/adapter.rb
Instance Attribute Summary collapse
-
#differ ⇒ Object
readonly
Returns the value of attribute differ.
Instance Method Summary collapse
-
#initialize(differ) ⇒ Adapter
constructor
A new instance of Adapter.
Constructor Details
#initialize(differ) ⇒ Adapter
Returns a new instance of Adapter.
11 12 13 |
# File 'lib/sub_diff/adapter.rb', line 11 def initialize(differ) @differ = differ end |
Instance Attribute Details
#differ ⇒ Object (readonly)
Returns the value of attribute differ.
9 10 11 |
# File 'lib/sub_diff/adapter.rb', line 9 def differ @differ end |