Class: MIM::MotionBrowserConfig
- Inherits:
-
Object
- Object
- MIM::MotionBrowserConfig
- Defined in:
- lib/config/motion_browser_config.rb
Instance Attribute Summary collapse
-
#back_button_text ⇒ Object
Returns the value of attribute back_button_text.
-
#forward_button_text ⇒ Object
Returns the value of attribute forward_button_text.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ MotionBrowserConfig
constructor
A new instance of MotionBrowserConfig.
Constructor Details
#initialize ⇒ MotionBrowserConfig
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_text ⇒ Object
Returns the value of attribute back_button_text.
8 9 10 |
# File 'lib/config/motion_browser_config.rb', line 8 def @back_button_text end |
#forward_button_text ⇒ Object
Returns the value of attribute forward_button_text.
8 9 10 |
# File 'lib/config/motion_browser_config.rb', line 8 def @forward_button_text end |
Class Method Details
.shared ⇒ Object
3 4 5 6 |
# File 'lib/config/motion_browser_config.rb', line 3 def self.shared Dispatch.once { @shared = new } @shared end |