Class: Librarian::Action::Base
- Inherits:
-
Object
- Object
- Librarian::Action::Base
- Defined in:
- lib/librarian/action/base.rb
Instance Attribute Summary collapse
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(environment, options = { }) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(environment, options = { }) ⇒ Base
Returns a new instance of Base.
11 12 13 14 |
# File 'lib/librarian/action/base.rb', line 11 def initialize(environment, = { }) self.environment = environment self. = end |
Instance Attribute Details
#environment ⇒ Object
Returns the value of attribute environment.
5 6 7 |
# File 'lib/librarian/action/base.rb', line 5 def environment @environment end |
#options ⇒ Object
Returns the value of attribute options.
8 9 10 |
# File 'lib/librarian/action/base.rb', line 8 def @options end |