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



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

def description
  @description
end

#nameObject

Returns the value of attribute name



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

def name
  @name
end

#optionalObject

Returns the value of attribute optional



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

def optional
  @optional
end

#typeObject

Returns the value of attribute type



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

def type
  @type
end