Class: Bbiff::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/bbiff/settings.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSettings

Returns a new instance of Settings.



6
7
8
9
10
11
12
13
# File 'lib/bbiff/settings.rb', line 6

def initialize
  @current = {
    'delay_seconds' => 7,
    'bbiff_show' => 'bbiff-show',
    'no_render' => false,
    'long_polling' => false,
  }
end

Instance Attribute Details

#currentObject

Returns the value of attribute current.



4
5
6
# File 'lib/bbiff/settings.rb', line 4

def current
  @current
end