Class: RulerCoaster::Operator::GreaterThan

Inherits:
Base
  • Object
show all
Defined in:
lib/ruler_coaster/operator/greater_than.rb

Direct Known Subclasses

LessThan

Instance Attribute Summary

Attributes inherited from Base

#assert_value

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from RulerCoaster::Operator::Base

Instance Method Details

#call(value) ⇒ Object



4
5
6
# File 'lib/ruler_coaster/operator/greater_than.rb', line 4

def call(value)
  value > assert_value
end