Class: VirtualKeywords::ObjectAndKeyword
- Inherits:
-
Struct
- Object
- Struct
- VirtualKeywords::ObjectAndKeyword
- Defined in:
- lib/virtual_keywords/rewritten_keywords.rb
Overview
Simple data object holding an object and a Ruby keyword (as a symbol)
Instance Attribute Summary collapse
-
#keyword ⇒ Object
Returns the value of attribute keyword.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Attribute Details
#keyword ⇒ Object
Returns the value of attribute keyword
4 5 6 |
# File 'lib/virtual_keywords/rewritten_keywords.rb', line 4 def keyword @keyword end |
#object ⇒ Object
Returns the value of attribute object
4 5 6 |
# File 'lib/virtual_keywords/rewritten_keywords.rb', line 4 def object @object end |