Class: LeaderboardFactory::HelperProxy
- Inherits:
-
Object
- Object
- LeaderboardFactory::HelperProxy
- Includes:
- Helpers
- Defined in:
- lib/leaderboard_factory/helper_proxy.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context) ⇒ HelperProxy
constructor
A new instance of HelperProxy.
Methods included from Helpers
#board_name, #get, #pivot, #top
Constructor Details
#initialize(context) ⇒ HelperProxy
Returns a new instance of HelperProxy.
9 10 11 |
# File 'lib/leaderboard_factory/helper_proxy.rb', line 9 def initialize context self.context = context end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
7 8 9 |
# File 'lib/leaderboard_factory/helper_proxy.rb', line 7 def context @context end |