Class: CommandModel::Model::Parameter

Inherits:
Struct
  • Object
show all
Defined in:
lib/command_model/model.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/command_model/model.rb', line 7

def name
  @name
end

#typecastObject

Returns the value of attribute typecast

Returns:

  • (Object)

    the current value of typecast



7
8
9
# File 'lib/command_model/model.rb', line 7

def typecast
  @typecast
end

#validationsObject

Returns the value of attribute validations

Returns:

  • (Object)

    the current value of validations



7
8
9
# File 'lib/command_model/model.rb', line 7

def validations
  @validations
end