Class: Newstile::Options::Definition

Inherits:
Struct
  • Object
show all
Defined in:
lib/newstile/options.rb

Overview

Contains the definition of an option.

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



47
48
49
# File 'lib/newstile/options.rb', line 47

def default
  @default
end

#descObject

Returns the value of attribute desc

Returns:

  • (Object)

    the current value of desc



47
48
49
# File 'lib/newstile/options.rb', line 47

def desc
  @desc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



47
48
49
# File 'lib/newstile/options.rb', line 47

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



47
48
49
# File 'lib/newstile/options.rb', line 47

def type
  @type
end