Module: Boson::Library::API

Included in:
Boson::Library
Defined in:
lib/boson/library.rb

Instance Method Summary collapse

Instance Method Details

#before_initializeObject

Method hook called at the beginning of initialize



74
75
# File 'lib/boson/library.rb', line 74

def before_initialize
end

#configHash



84
85
86
# File 'lib/boson/library.rb', line 84

def config
  Boson.config
end

#local?Boolean

Determines if library is local i.e. scoped to current directory/project



78
79
80
# File 'lib/boson/library.rb', line 78

def local?
  false
end

#namespace_objectObject

The object a library uses for executing its commands.



69
70
71
# File 'lib/boson/library.rb', line 69

def namespace_object
  @namespace_object ||= Boson.main_object
end