Class: Lambchop::Tail
- Inherits:
-
Object
- Object
- Lambchop::Tail
- Defined in:
- lib/lambchop/tail.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(function_name, options = {}) ⇒ Tail
constructor
A new instance of Tail.
- #tail ⇒ Object
Constructor Details
#initialize(function_name, options = {}) ⇒ Tail
Returns a new instance of Tail.
6 7 8 9 |
# File 'lib/lambchop/tail.rb', line 6 def initialize(function_name, = {}) @function_name = function_name @options = end |
Class Method Details
.tail(function_name, options = {}) ⇒ Object
2 3 4 |
# File 'lib/lambchop/tail.rb', line 2 def self.tail(function_name, = {}) self.new(function_name, ).tail end |