Class: Fisk::Registers::Register
- Inherits:
-
Struct
- Object
- Struct
- Fisk::Registers::Register
- Defined in:
- lib/fisk.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/fisk.rb', line 8 def name @name end |
#type ⇒ Object
Returns the value of attribute type
8 9 10 |
# File 'lib/fisk.rb', line 8 def type @type end |
#value ⇒ Object
Returns the value of attribute value
8 9 10 |
# File 'lib/fisk.rb', line 8 def value @value end |
Instance Method Details
#unknown_label? ⇒ Boolean
13 |
# File 'lib/fisk.rb', line 13 def unknown_label?; false; end |
#works?(type) ⇒ Boolean
9 10 11 |
# File 'lib/fisk.rb', line 9 def works? type type == self.name || type == self.type end |