Class: MIM::MotionBrowserConfig

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMotionBrowserConfig

Returns a new instance of MotionBrowserConfig.



10
11
12
13
# File 'lib/config/motion_browser_config.rb', line 10

def initialize
  @back_button_text = 'Back'
  @forward_button_text = 'Forward'
end

Instance Attribute Details

#back_button_textObject

Returns the value of attribute back_button_text.



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

def back_button_text
  @back_button_text
end

#forward_button_textObject

Returns the value of attribute forward_button_text.



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

def forward_button_text
  @forward_button_text
end

Class Method Details

.sharedObject



3
4
5
6
# File 'lib/config/motion_browser_config.rb', line 3

def self.shared
  Dispatch.once { @shared = new }
  @shared
end