Exception: Nl::Selector::MissingSelectorValueError

Inherits:
StandardError
  • Object
show all
Defined in:
nl/lib/nl/sub_message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scope, index) ⇒ MissingSelectorValueError

Returns a new instance of MissingSelectorValueError.



8
9
10
11
12
# File 'nl/lib/nl/sub_message.rb', line 8

def initialize(scope, index)
  @scope = scope
  @index = index
  super()
end

Instance Attribute Details

#index ⇒ Object (readonly)

Returns the value of attribute index.



6
7
8
# File 'nl/lib/nl/sub_message.rb', line 6

def index
  @index
end

#scope ⇒ Object (readonly)

Returns the value of attribute scope.



6
7
8
# File 'nl/lib/nl/sub_message.rb', line 6

def scope
  @scope
end