Class: Configru::RequiredOption

Inherits:
Struct
  • Object
show all
Includes:
OptionMethods
Defined in:
lib/configru/option.rb

Instance Attribute Summary collapse

Method Summary

Methods included from OptionMethods

#transform, #type?, #valid?

Instance Attribute Details

#transformationObject

Returns the value of attribute transformation

Returns:

  • (Object)

    the current value of transformation



26
27
28
# File 'lib/configru/option.rb', line 26

def transformation
  @transformation
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



26
27
28
# File 'lib/configru/option.rb', line 26

def type
  @type
end

#validationObject

Returns the value of attribute validation

Returns:

  • (Object)

    the current value of validation



26
27
28
# File 'lib/configru/option.rb', line 26

def validation
  @validation
end