Class: RgGen::RegisterMap::GenericMap::Cell
- Inherits:
-
Object
- Object
- RgGen::RegisterMap::GenericMap::Cell
- Defined in:
- lib/rggen/core_components/register_map/generic_map.rb
Defined Under Namespace
Classes: Position
Instance Attribute Summary collapse
-
#position ⇒ Object
readonly
Returns the value of attribute position.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#initialize(file, sheet, row, column) ⇒ Cell
constructor
A new instance of Cell.
Constructor Details
Instance Attribute Details
#position ⇒ Object (readonly)
Returns the value of attribute position.
12 13 14 |
# File 'lib/rggen/core_components/register_map/generic_map.rb', line 12 def position @position end |
#value ⇒ Object
Returns the value of attribute value.
11 12 13 |
# File 'lib/rggen/core_components/register_map/generic_map.rb', line 11 def value @value end |
Instance Method Details
#empty? ⇒ Boolean
14 15 16 |
# File 'lib/rggen/core_components/register_map/generic_map.rb', line 14 def empty? value.to_s.empty? end |