Module: FigRake::Rails

Includes:
Mixin
Included in:
Rails::CommandsTasks
Defined in:
lib/fig_rake/rails.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Mixin

#run_in_fig

Class Method Details

.default_container(name = nil) ⇒ Object



8
9
10
11
# File 'lib/fig_rake/rails.rb', line 8

def self.default_container(name=nil)
  return @name unless name
  @name = name
end

Instance Method Details

#commandObject



17
18
19
# File 'lib/fig_rake/rails.rb', line 17

def command
  :rails
end

#default_nameObject



13
14
15
# File 'lib/fig_rake/rails.rb', line 13

def default_name
  FigRake::Rails.default_container
end