Sha256: b478a1ed1a27128b395bbaf1d28473e0927353250ad42d5dedc809bb0f26b4fb

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

module Rumx
  class AttributeInfo
    attr_reader :attribute, :bean, :ancestry, :value

    def initialize(attribute, bean, ancestry, value)
      @attribute = attribute
      @bean      = bean
      @ancestry  = ancestry
      @value     = value
    end

    def value_to_s
      @attribute.type.value_to_string(@value)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rumx-0.2.3 lib/rumx/attribute_info.rb
rumx-0.2.2 lib/rumx/attribute_info.rb