Class: Ambition::LimitProcessor
- Inherits:
-
Object
- Object
- Ambition::LimitProcessor
- Defined in:
- lib/ambition/lib/ambition/limit.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ LimitProcessor
constructor
A new instance of LimitProcessor.
- #key ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(*args) ⇒ LimitProcessor
Returns a new instance of LimitProcessor.
22 23 24 |
# File 'lib/ambition/lib/ambition/limit.rb', line 22 def initialize(*args) @args = args end |
Instance Method Details
#key ⇒ Object
26 27 28 |
# File 'lib/ambition/lib/ambition/limit.rb', line 26 def key :limit end |
#to_s ⇒ Object
30 31 32 |
# File 'lib/ambition/lib/ambition/limit.rb', line 30 def to_s @args.compact * ', ' end |