Class: Meteor::Attribute
- Inherits:
-
Object
- Object
- Meteor::Attribute
- Defined in:
- lib/meteor.rb
Overview
属性クラス
Instance Attribute Summary collapse
-
#changed ⇒ Object
Returns the value of attribute changed.
-
#name ⇒ Object
Returns the value of attribute name.
-
#removed ⇒ Object
Returns the value of attribute removed.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ Attribute
constructor
イニシャライザ.
Constructor Details
#initialize ⇒ Attribute
イニシャライザ
553 554 555 556 557 558 |
# File 'lib/meteor.rb', line 553 def initialize #@name = nil #@value = nil #@changed = false #@removed = false end |
Instance Attribute Details
#changed ⇒ Object
Returns the value of attribute changed.
562 563 564 |
# File 'lib/meteor.rb', line 562 def changed @changed end |
#name ⇒ Object
Returns the value of attribute name.
560 561 562 |
# File 'lib/meteor.rb', line 560 def name @name end |
#removed ⇒ Object
Returns the value of attribute removed.
563 564 565 |
# File 'lib/meteor.rb', line 563 def removed @removed end |
#value ⇒ Object
Returns the value of attribute value.
561 562 563 |
# File 'lib/meteor.rb', line 561 def value @value end |