class Leafy::Core::RatioGauge
Public Instance Methods
value()
click to toggle source
# File lib/leafy/core/ratio_gauge.rb, line 51 def value ratio.value end
Protected Instance Methods
ratio()
click to toggle source
Returns the {@link Ratio} which is the gauge's current value.
@return the {@link Ratio} which is the gauge's current value
# File lib/leafy/core/ratio_gauge.rb, line 46 def ratio @block.call end