Class: AdvAccessor::Reader
- Inherits:
-
Object
- Object
- AdvAccessor::Reader
- Includes:
- FromHash
- Defined in:
- lib/adv_accessor/mapping.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
15 16 17 |
# File 'lib/adv_accessor/mapping.rb', line 15 def block @block end |
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'lib/adv_accessor/mapping.rb', line 15 def name @name end |
Instance Method Details
#match?(ops) ⇒ Boolean
17 18 19 |
# File 'lib/adv_accessor/mapping.rb', line 17 def match?(ops) name == ops[:name] end |