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

イニシャライザ



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

#changedObject

Returns the value of attribute changed.



562
563
564
# File 'lib/meteor.rb', line 562

def changed
  @changed
end

#nameObject

Returns the value of attribute name.



560
561
562
# File 'lib/meteor.rb', line 560

def name
  @name
end

#removedObject

Returns the value of attribute removed.



563
564
565
# File 'lib/meteor.rb', line 563

def removed
  @removed
end

#valueObject

Returns the value of attribute value.



561
562
563
# File 'lib/meteor.rb', line 561

def value
  @value
end