Class: Ivy::Parameter

Inherits:
Struct
  • Object
show all
Defined in:
lib/ivy/target.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mandatoryObject

Returns the value of attribute mandatory

Returns:

  • (Object)

    the current value of mandatory



117
118
119
# File 'lib/ivy/target.rb', line 117

def mandatory
  @mandatory
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



117
118
119
# File 'lib/ivy/target.rb', line 117

def symbol
  @symbol
end

Instance Method Details

#mandatory?Boolean

Returns:

  • (Boolean)


118
119
120
# File 'lib/ivy/target.rb', line 118

def mandatory?
  mandatory
end