Class: Meteor::Attribute
- Inherits:
-
Object
- Object
- Meteor::Attribute
- Defined in:
- lib/meteor.rb
Overview
属性クラス
Instance Attribute Summary collapse
-
#changed ⇒ Object
- true,false
-
更新フラグ.
-
#name ⇒ Object
- String
-
名前.
-
#removed ⇒ Object
- true,false
-
削除フラグ.
-
#value ⇒ Object
- String
-
値.
Instance Method Summary collapse
-
#initialize ⇒ Attribute
constructor
イニシャライザ.
Constructor Details
#initialize ⇒ Attribute
イニシャライザ
605 606 607 608 609 610 |
# File 'lib/meteor.rb', line 605 def initialize #@name = nil #@value = nil #@changed = false #@removed = false end |
Instance Attribute Details
#changed ⇒ Object
- true,false
-
更新フラグ
614 615 616 |
# File 'lib/meteor.rb', line 614 def changed @changed end |
#name ⇒ Object
- String
-
名前
612 613 614 |
# File 'lib/meteor.rb', line 612 def name @name end |
#removed ⇒ Object
- true,false
-
削除フラグ
615 616 617 |
# File 'lib/meteor.rb', line 615 def removed @removed end |
#value ⇒ Object
- String
-
値
613 614 615 |
# File 'lib/meteor.rb', line 613 def value @value end |