Class: Nl::Selector::Local

Inherits:
Data
  • Object
show all
Includes:
Reference
Defined in:
nl/lib/nl/sub_message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Reference

#select

Instance Attribute Details

#index ⇒ Object (readonly)

Returns the value of attribute index

Returns:

  • (Object) —

    the current value of 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