Module: Bower

Extended by:
Bower
Included in:
Bower
Defined in:
lib/bower.rb,
lib/bower/railtie.rb,
lib/bower/version.rb,
lib/bower/environment.rb,
lib/generators/bower/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Environment, Railtie

Constant Summary collapse

VERSION =
'0.0.4'

Instance Method Summary collapse

Instance Method Details

#environmentObject



14
15
16
# File 'lib/bower.rb', line 14

def environment
  @environment ||= Bower::Environment.setup('.bowerrc')
end

#installObject



6
7
8
# File 'lib/bower.rb', line 6

def install
  environment.install
end

#updateObject



10
11
12
# File 'lib/bower.rb', line 10

def update
  environment.update
end