Class: Meteor::Attribute

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

Overview

Attribute class (属性クラス)

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Attribute) initialize

initializer (イニシャライザ)



677
678
679
680
681
682
# File 'lib/meteor.rb', line 677

def initialize
  #@name = nil
  #@value = nil
  #@changed = false
  #@removed = false
end

Instance Attribute Details

- (Object) changed

Returns the value of attribute changed



686
687
688
# File 'lib/meteor.rb', line 686

def changed
  @changed
end

- (Object) name

String

attribute name (名前)



684
685
686
# File 'lib/meteor.rb', line 684

def name
  @name
end

- (Object) removed

true,false

update flag (更新フラグ)

true,false

delete flag (削除フラグ)



687
688
689
# File 'lib/meteor.rb', line 687

def removed
  @removed
end

- (Object) value

String

attribute value (値)



685
686
687
# File 'lib/meteor.rb', line 685

def value
  @value
end