Class: Cheri::JRuby::Explorer::NodeType
- Inherits:
-
Object
- Object
- Cheri::JRuby::Explorer::NodeType
- Defined in:
- lib/cheri/jruby/explorer/viewer.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(type, subtype = nil) ⇒ NodeType
constructor
A new instance of NodeType.
- #subtype ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(type, subtype = nil) ⇒ NodeType
Returns a new instance of NodeType.
124 125 126 127 |
# File 'lib/cheri/jruby/explorer/viewer.rb', line 124 def initialize(type,subtype=nil) @t = type @s = subtype if subtype end |
Instance Method Details
#subtype ⇒ Object
131 132 133 |
# File 'lib/cheri/jruby/explorer/viewer.rb', line 131 def subtype @s end |
#type ⇒ Object
128 129 130 |
# File 'lib/cheri/jruby/explorer/viewer.rb', line 128 def type @t end |