Class: Ron::GraphEdge::TopLevel
- Inherits:
-
Ron::GraphEdge
- Object
- Ron::GraphEdge
- Ron::GraphEdge::TopLevel
- Defined in:
- lib/ron/graphedge.rb
Overview
Instance Attribute Summary
Attributes inherited from Ron::GraphEdge
Instance Method Summary collapse
-
#initialize(context, index = nil, len = 1, &newval_code) ⇒ TopLevel
constructor
A new instance of TopLevel.
- #old_value ⇒ Object
- #replace(newval = new_value) ⇒ Object
Methods inherited from Ron::GraphEdge
#call, #context_type, #new_value
Constructor Details
#initialize(context, index = nil, len = 1, &newval_code) ⇒ TopLevel
Returns a new instance of TopLevel.
409 410 411 |
# File 'lib/ron/graphedge.rb', line 409 def initialize(context,index=nil,len=1,&newval_code) super end |
Instance Method Details
#old_value ⇒ Object
413 414 415 |
# File 'lib/ron/graphedge.rb', line 413 def old_value context end |
#replace(newval = new_value) ⇒ Object
417 418 419 420 |
# File 'lib/ron/graphedge.rb', line 417 def replace(newval=new_value) #can't really replace values in toplevel context...??? raise ReplaceAtTopLevel end |