Class: Fisk::Operand
- Inherits:
-
Struct
- Object
- Struct
- Fisk::Operand
show all
- Defined in:
- lib/fisk.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
39
40
41
|
# File 'lib/fisk.rb', line 39
def value
@value
end
|
Instance Method Details
#type ⇒ Object
40
|
# File 'lib/fisk.rb', line 40
def type; value; end
|
#unknown_label? ⇒ Boolean
42
|
# File 'lib/fisk.rb', line 42
def unknown_label?; false; end
|
#works?(type) ⇒ Boolean
41
|
# File 'lib/fisk.rb', line 41
def works? type; self.type == type; end
|