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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#docObject

Returns the value of attribute doc

Returns:

  • (Object)

    the current value of doc



80
81
82
# File 'lib/ynl/models.rb', line 80

def doc
  @doc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



80
81
82
# File 'lib/ynl/models.rb', line 80

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



80
81
82
# File 'lib/ynl/models.rb', line 80

def type
  @type
end

Instance Method Details

#resolve(f) ⇒ Object



81
82
83
84
# File 'lib/ynl/models.rb', line 81

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