Class: Meteor::Attribute

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

Overview

Attribute class (属性クラス)

Instance Attribute Summary collapse

Instance Attribute Details

#changedtrue, false

Returns update flag (更新フラグ)

Returns:

  • (true, false)

    update flag (更新フラグ)


745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
# File 'lib/meteor.rb', line 745

class Attribute

  attr_accessor :name
  attr_accessor :value
  attr_accessor :changed
  attr_accessor :removed

  ##
  ## initializer (イニシャライザ)
  ##
  #def initialize
  #  #@name = nil
  #  #@value = nil
  #  #@changed = false
  #  #@removed = false
  #end

end

#nameString, symbol

Returns attribute name (名前)

Returns:

  • (String, symbol)

    attribute name (名前)


745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
# File 'lib/meteor.rb', line 745

class Attribute

  attr_accessor :name
  attr_accessor :value
  attr_accessor :changed
  attr_accessor :removed

  ##
  ## initializer (イニシャライザ)
  ##
  #def initialize
  #  #@name = nil
  #  #@value = nil
  #  #@changed = false
  #  #@removed = false
  #end

end

#removedtrue, false

Returns delete flag (削除フラグ)

Returns:

  • (true, false)

    delete flag (削除フラグ)


745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
# File 'lib/meteor.rb', line 745

class Attribute

  attr_accessor :name
  attr_accessor :value
  attr_accessor :changed
  attr_accessor :removed

  ##
  ## initializer (イニシャライザ)
  ##
  #def initialize
  #  #@name = nil
  #  #@value = nil
  #  #@changed = false
  #  #@removed = false
  #end

end

#valueString

Returns attribute value (値)

Returns:

  • (String)

    attribute value (値)


745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
# File 'lib/meteor.rb', line 745

class Attribute

  attr_accessor :name
  attr_accessor :value
  attr_accessor :changed
  attr_accessor :removed

  ##
  ## initializer (イニシャライザ)
  ##
  #def initialize
  #  #@name = nil
  #  #@value = nil
  #  #@changed = false
  #  #@removed = false
  #end

end