class Gm::Notepad::TableEntry::OrLess
Attributes
floor[R]
Public Class Methods
new(floor:, **kwargs)
click to toggle source
Calls superclass method
Gm::Notepad::TableEntry::Base::new
# File lib/gm/notepad/table_entry.rb, line 80 def initialize(floor:, **kwargs) super @floor = floor table.set_or_less_entry(self) end
Public Instance Methods
include?(index)
click to toggle source
# File lib/gm/notepad/table_entry.rb, line 87 def include?(index) floor.to_i >= index.to_i end