Class: Prpr::Action::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/prpr/action/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/prpr/action/base.rb', line 6

def initialize(event)
  @event = event
end

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event.



4
5
6
# File 'lib/prpr/action/base.rb', line 4

def event
  @event
end

Instance Method Details

#envObject



10
11
12
# File 'lib/prpr/action/base.rb', line 10

def env
  Config::Env.default
end