Module: Origami::HintTable::ClassMethods
- Defined in:
- lib/origami/linearization.rb
Instance Method Summary collapse
- #entry_item_size(number, size) ⇒ Object
- #get_entry_item_size(number) ⇒ Object
- #get_header_item_size(number) ⇒ Object
- #header_item_size(number, size) ⇒ Object
- #nb_entry_items ⇒ Object
- #nb_header_items ⇒ Object
Instance Method Details
#entry_item_size(number, size) ⇒ Object
150 151 152 |
# File 'lib/origami/linearization.rb', line 150 def entry_item_size(number, size) @entry_items_size[number] = size end |
#get_entry_item_size(number) ⇒ Object
154 155 156 |
# File 'lib/origami/linearization.rb', line 154 def get_entry_item_size(number) @entry_items_size[number] end |
#get_header_item_size(number) ⇒ Object
146 147 148 |
# File 'lib/origami/linearization.rb', line 146 def get_header_item_size(number) @header_items_size[number] end |
#header_item_size(number, size) ⇒ Object
142 143 144 |
# File 'lib/origami/linearization.rb', line 142 def header_item_size(number, size) @header_items_size[number] = size end |
#nb_entry_items ⇒ Object
162 163 164 |
# File 'lib/origami/linearization.rb', line 162 def nb_entry_items @entry_items_size.size end |
#nb_header_items ⇒ Object
158 159 160 |
# File 'lib/origami/linearization.rb', line 158 def nb_header_items @header_items_size.size end |