0.0
No commit activity in last 3 years
No release in over 3 years
Define a set of methods that should be chainable
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

Acts as chain

Define a set of methods that should be chainable.

Example

require "acts_as_chain"

class MyExampleClass
  acts_as_chain :method1, :method2
end

MyExampleClass.new.method1("value1").method2("value2").method1 # => "value1"

Installation

[sudo] gem install acts_as_chain

Requirements

acts_as_chain is tested in OS X 10.7.2 using Ruby 1.9.2, 1.8.7.

License

acts_as_chain is released under the MIT license.