Class: Rumx::AttributeInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/rumx/attribute_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute, bean, ancestry, value) ⇒ AttributeInfo

Returns a new instance of AttributeInfo.



5
6
7
8
9
10
# File 'lib/rumx/attribute_info.rb', line 5

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

Instance Attribute Details

#ancestryObject (readonly)

Returns the value of attribute ancestry.



3
4
5
# File 'lib/rumx/attribute_info.rb', line 3

def ancestry
  @ancestry
end

#attributeObject (readonly)

Returns the value of attribute attribute.



3
4
5
# File 'lib/rumx/attribute_info.rb', line 3

def attribute
  @attribute
end

#beanObject (readonly)

Returns the value of attribute bean.



3
4
5
# File 'lib/rumx/attribute_info.rb', line 3

def bean
  @bean
end

#valueObject (readonly)

Returns the value of attribute value.



3
4
5
# File 'lib/rumx/attribute_info.rb', line 3

def value
  @value
end