module EacRubyUtils::ActsAsImmutable::ClassMethods

def immutable_accessor(*accessors)

def immutable_accessor(*accessors)
  options = accessors.extract_options!
  options[:type] ||= const_get('TYPE_COMMON')
  accessors.each do |name|
    class_name = "#{options.fetch(:type).to_s.camelize}Accessor"
    ::EacRubyUtils::ActsAsImmutable.const_get(class_name).new(name).apply(self)
  end
end

def imutable_single_accessor(name, options); end

def imutable_single_accessor(name, options); end