Class: Docs::Type

Inherits:
Struct
  • Object
show all
Defined in:
lib/docs/core/models/type.rb

Instance Attribute Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count


2
3
4
# File 'lib/docs/core/models/type.rb', line 2

def count
  @count
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


2
3
4
# File 'lib/docs/core/models/type.rb', line 2

def name
  @name
end