module AsValue::ValueObject

Public Class Methods

extended(base) click to toggle source
# File lib/as_value/value_object.rb, line 58
def self.extended(base); base.include(InstanceMethods); end

Public Instance Methods

before_freeze(&block) click to toggle source
# File lib/as_value/value_object.rb, line 54
def before_freeze(&block)
  @before_freeze = block
end
instance_attributes(*attributes) click to toggle source
# File lib/as_value/value_object.rb, line 50
def instance_attributes(*attributes)
  @instance_attributes = attributes
end