Class: Nl::Selector::External

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



42
43
44
# File 'nl/lib/nl/sub_message.rb', line 42

def index
  @index
end

Instance Method Details

#read(context) ⇒ Object



45
46
47
# File 'nl/lib/nl/sub_message.rb', line 45

def read(context)
  context.fetch_external(index)
end