class Buildr::Shell::Base

Base class for any shell provider.

Attributes

languages[RW]
shell_name[RW]

Public Class Methods

new(project) click to toggle source
# File lib/buildr/shell.rb, line 87
def initialize(project)
  @project = project
end
specify(options) click to toggle source
# File lib/buildr/shell.rb, line 77
def specify(options)
  @shell_name ||= options[:name]
  @languages ||= options[:languages]
end
to_sym() click to toggle source
# File lib/buildr/shell.rb, line 82
def to_sym
  @shell_name || name.split('::').last.downcase.to_sym
end

Public Instance Methods

launch(task) click to toggle source
# File lib/buildr/shell.rb, line 91
def launch(task)
  fail 'Not implemented'
end