Sha256: bb5646f52638a284a0bec576bad33d8945f939ce31706ea931d5e61ed737dad2
Contents?: true
Size: 463 Bytes
Versions: 1
Compression:
Stored size: 463 Bytes
Contents
# Acts as chain Define a set methods that should be chainable. ## Example ``` ruby 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*.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_chain-1.0.0 | Readme.md |