Class: Buildr::Shell::Base

Inherits:
Object show all
Defined in:
lib/buildr/shell.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(project) ⇒ Base

Returns a new instance of Base.



64
65
66
# File 'lib/buildr/shell.rb', line 64

def initialize(project)
  @project = project
end

Instance Attribute Details

#projectObject (readonly)

Returns the value of attribute project.



52
53
54
# File 'lib/buildr/shell.rb', line 52

def project
  @project
end

Class Method Details

.langObject



55
56
57
# File 'lib/buildr/shell.rb', line 55

def lang
  :none
end

.to_symObject



59
60
61
# File 'lib/buildr/shell.rb', line 59

def to_sym
  @symbol ||= name.split('::').last.downcase.to_sym
end

Instance Method Details

#build?Boolean

Returns:

  • (Boolean)


68
69
70
# File 'lib/buildr/shell.rb', line 68

def build?
  true
end

#launchObject



72
73
74
# File 'lib/buildr/shell.rb', line 72

def launch
  fail 'Not implemented'
end