| Class | Class |
| In: |
lib/merb-core/core_ext/class.rb
|
| Parent: | Object |
Allows the definition of methods on a class that will be available via super.
class Foo
chainable do
def hello
"hello"
end
end
end
class Foo
def hello
super + " Merb!"
end
end
Foo.new.hello #=> "hello Merb!"
| &blk: | a block containing method definitions that should be marked as chainable |
| Module: | The anonymous module that was created |