Class: Trocla::Hooks::Runner
- Inherits:
-
Object
- Object
- Trocla::Hooks::Runner
- Defined in:
- lib/trocla/hooks.rb
Instance Attribute Summary collapse
-
#trocla ⇒ Object
readonly
Returns the value of attribute trocla.
Instance Method Summary collapse
-
#initialize(trocla) ⇒ Runner
constructor
A new instance of Runner.
- #run(action, key, format, options) ⇒ Object
Constructor Details
#initialize(trocla) ⇒ Runner
Returns a new instance of Runner.
5 6 7 |
# File 'lib/trocla/hooks.rb', line 5 def initialize(trocla) @trocla = trocla end |
Instance Attribute Details
#trocla ⇒ Object (readonly)
Returns the value of attribute trocla.
4 5 6 |
# File 'lib/trocla/hooks.rb', line 4 def trocla @trocla end |