Class: Meteor::Attribute

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

Overview

属性クラス

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAttribute

イニシャライザ



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

#changedObject

true,false

更新フラグ



614
615
616
# File 'lib/meteor.rb', line 614

def changed
  @changed
end

#nameObject

String

名前



612
613
614
# File 'lib/meteor.rb', line 612

def name
  @name
end

#removedObject

true,false

削除フラグ



615
616
617
# File 'lib/meteor.rb', line 615

def removed
  @removed
end

#valueObject

String



613
614
615
# File 'lib/meteor.rb', line 613

def value
  @value
end