Class: Configru::Option

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

Direct Known Subclasses

OptionArray

Instance Attribute Summary collapse

Method Summary

Methods included from OptionMethods

#transform, #type?, #valid?

Instance Attribute Details

#defaultObject

Returns the value of attribute default



22
23
24
# File 'lib/configru/option.rb', line 22

def default
  @default
end

#transformationObject

Returns the value of attribute transformation



22
23
24
# File 'lib/configru/option.rb', line 22

def transformation
  @transformation
end

#typeObject

Returns the value of attribute type



22
23
24
# File 'lib/configru/option.rb', line 22

def type
  @type
end

#validationObject

Returns the value of attribute validation



22
23
24
# File 'lib/configru/option.rb', line 22

def validation
  @validation
end