Class: Librarian::Action::Base

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

Direct Known Subclasses

Clean, Ensure, Install, Resolve, Update

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environment, options = { }) ⇒ Base


11
12
13
14
# File 'lib/librarian/action/base.rb', line 11

def initialize(environment, options = { })
  self.environment = environment
  self.options = options
end

Instance Attribute Details

#environmentObject

Returns the value of attribute environment


5
6
7
# File 'lib/librarian/action/base.rb', line 5

def environment
  @environment
end

#optionsObject

Returns the value of attribute options


8
9
10
# File 'lib/librarian/action/base.rb', line 8

def options
  @options
end