Method: Plugins::AroundStack#initialize
- Defined in:
- lib/plugins/around_stack.rb
#initialize(subject, scope = nil) ⇒ AroundStack
Returns a new instance of AroundStack.
6 7 8 9 10 |
# File 'lib/plugins/around_stack.rb', line 6 def initialize(subject, scope=nil) @subject = subject.to_sym @scope = scope @_stack = [] end |