Class: Space::Model::Project::Bundler

Inherits:
Object
  • Object
show all
Includes:
Source
Defined in:
lib/space/model/project/bundler.rb,
lib/space/model/project/bundler/config.rb

Defined Under Namespace

Classes: Config

Instance Attribute Summary (collapse)

Attributes included from Source

#path, #results

Instance Method Summary (collapse)

Methods included from Source

#commands, included, #refresh, #update

Methods included from Events

events, notify, #notify, sources, subscribe, subscriptions

Constructor Details

- (Bundler) initialize(project)

Returns a new instance of Bundler



17
18
19
20
# File 'lib/space/model/project/bundler.rb', line 17

def initialize(project)
  @project = project
  super('.')
end

Instance Attribute Details

- (Object) project (readonly)

Returns the value of attribute project



15
16
17
# File 'lib/space/model/project/bundler.rb', line 15

def project
  @project
end

Instance Method Details

- (Object) config



22
23
24
# File 'lib/space/model/project/bundler.rb', line 22

def config
  Config.new(result(:config)).to_hash
end