Class: Cheri::JRuby::Explorer::NodeTypeValue

Inherits:
NodeType
  • Object
show all
Defined in:
lib/cheri/jruby/explorer/viewer.rb

Instance Method Summary collapse

Methods inherited from NodeType

#subtype, #type

Constructor Details

#initialize(type, subtype, value) ⇒ NodeTypeValue

Returns a new instance of NodeTypeValue.



136
137
138
139
# File 'lib/cheri/jruby/explorer/viewer.rb', line 136

def initialize(type,subtype,value)
  super(type,subtype)
  @v = value if value
end

Instance Method Details

#valueObject



140
141
142
# File 'lib/cheri/jruby/explorer/viewer.rb', line 140

def value
  @v  
end