Class: Nl::Selector::Local
- Inherits:
-
Data
- Object
- Data
- Nl::Selector::Local
- Includes:
- Reference
- Defined in:
- nl/lib/nl/sub_message.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
Instance Method Summary collapse
Methods included from Reference
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index
34 35 36 |
# File 'nl/lib/nl/sub_message.rb', line 34 def index @index end |
Instance Method Details
#read(context) ⇒ Object
37 38 39 |
# File 'nl/lib/nl/sub_message.rb', line 37 def read(context) context.fetch_local(index) end |