Class: Anchor::Types::Property

Inherits:
Struct
  • Object
show all
Defined in:
lib/anchor/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



20
21
22
# File 'lib/anchor/types.rb', line 20

def description
  @description
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



20
21
22
# File 'lib/anchor/types.rb', line 20

def name
  @name
end

#optionalObject

Returns the value of attribute optional

Returns:

  • (Object)

    the current value of optional



20
21
22
# File 'lib/anchor/types.rb', line 20

def optional
  @optional
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



20
21
22
# File 'lib/anchor/types.rb', line 20

def type
  @type
end