Class: Pray::Config::PrayConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/pray/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(local: PrayLocalConfig.new) ⇒ PrayConfig

Returns a new instance of PrayConfig.



8
9
10
# File 'lib/pray/config.rb', line 8

def initialize(local: PrayLocalConfig.new)
  super
end

Instance Attribute Details

#localObject

Returns the value of attribute local

Returns:

  • (Object)

    the current value of local



7
8
9
# File 'lib/pray/config.rb', line 7

def local
  @local
end