class Fixnum
Convert Fixnum
to Switch
Public Instance Methods
to_switch(labels = {})
click to toggle source
# File lib/bitswitch.rb, line 203 def to_switch(labels = {}) BitSwitch.new(self, labels) end
Convert Fixnum
to Switch
# File lib/bitswitch.rb, line 203 def to_switch(labels = {}) BitSwitch.new(self, labels) end