Class: Ynl::Models::Struct::Member

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#doc ⇒ Object

Returns the value of attribute doc

Returns:

  • (Object) —

    the current value of doc



90
91
92
# File 'ynl/lib/ynl/models.rb', line 90

def doc
  @doc
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



90
91
92
# File 'ynl/lib/ynl/models.rb', line 90

def name
  @name
end

#type ⇒ Object

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



90
91
92
# File 'ynl/lib/ynl/models.rb', line 90

def type
  @type
end

Instance Method Details

#resolve(f) ⇒ Object



91
92
93
94
# File 'ynl/lib/ynl/models.rb', line 91

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