Class: Ynl::Models::AttributeSet::Attribute

Inherits:
Struct
  • Object
show all
Defined in:
lib/ynl/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#checksObject

Returns the value of attribute checks

Returns:

  • (Object)

    the current value of checks



102
103
104
# File 'lib/ynl/models.rb', line 102

def checks
  @checks
end

#docObject

Returns the value of attribute doc

Returns:

  • (Object)

    the current value of doc



102
103
104
# File 'lib/ynl/models.rb', line 102

def doc
  @doc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



102
103
104
# File 'lib/ynl/models.rb', line 102

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



102
103
104
# File 'lib/ynl/models.rb', line 102

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



102
103
104
# File 'lib/ynl/models.rb', line 102

def value
  @value
end

Instance Method Details

#resolve(f) ⇒ Object



103
104
105
106
# File 'lib/ynl/models.rb', line 103

def resolve(f)
  self.type = type.resolve(f)
  self
end