Class: Buildr::ShellExtension::ShellConfig
- Defined in:
- lib/buildr/shell.rb
Instance Method Summary collapse
- 
  
    
      #initialize(project)  ⇒ ShellConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ShellConfig. 
- #using(*args) ⇒ Object
Constructor Details
#initialize(project) ⇒ ShellConfig
Returns a new instance of ShellConfig.
| 152 153 154 | # File 'lib/buildr/shell.rb', line 152 def initialize(project) @project = project end | 
Instance Method Details
#using(*args) ⇒ Object
| 156 157 158 159 160 161 162 | # File 'lib/buildr/shell.rb', line 156 def using(*args) if args.size > 0 @using ||= args.first else @using ||= find_shell_task end end |