Module: Winch::Base
- Included in:
- ActiveResource::Base
- Defined in:
- lib/winch/base.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/winch/base.rb', line 63 def self.included(klass) klass.class_eval do class_inheritable_hash :must_haves, :instance_writer => false attr_reader :well_typed, :broken_attributes alias_method :well_typed?, :well_typed extend ClassMethods include InstanceMethods end end |