class Gm::Notepad::TableEntry::OrMore

Attributes

ceiling[R]

Public Class Methods

new(ceiling:, **kwargs) click to toggle source
Calls superclass method Gm::Notepad::TableEntry::Base::new
# File lib/gm/notepad/table_entry.rb, line 92
def initialize(ceiling:, **kwargs)
  super
  @ceiling = ceiling
  table.set_or_more_entry(self)
end

Public Instance Methods

include?(index) click to toggle source
# File lib/gm/notepad/table_entry.rb, line 99
def include?(index)
  ceiling.to_i <= index.to_i
end