Class: Lita::Handler::ConfigOption

Inherits:
Struct
  • Object
show all
Defined in:
lib/lita/ext/handler.rb

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



25
26
27
# File 'lib/lita/ext/handler.rb', line 25

def default
  @default
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



25
26
27
# File 'lib/lita/ext/handler.rb', line 25

def name
  @name
end

#requiredObject Also known as: required?

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



25
26
27
# File 'lib/lita/ext/handler.rb', line 25

def required
  @required
end