Module: Agrippa::Mutable
- Defined in:
- lib/agrippa/mutable.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/agrippa/mutable.rb', line 6 def self.included(base) base.send(:include, Agrippa::Methods) return if base.respond_to?(:state_reader) base.send(:extend, ClassMethods) base.send(:include, InstanceMethods) base.send(:mark_as_commands, :chain, :store) end |