Class: Jake::Helper

Inherits:
Object
  • Object
show all
Defined in:
lib/jake/helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Helper

Returns a new instance of Helper.



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

def initialize(options = {})
  @options = options
end

Instance Attribute Details

#buildObject

Returns the value of attribute build.



3
4
5
# File 'lib/jake/helper.rb', line 3

def build
  @build
end

#optionsObject (readonly)

Returns the value of attribute options.



4
5
6
# File 'lib/jake/helper.rb', line 4

def options
  @options
end

Instance Method Details

#scopeObject



10
# File 'lib/jake/helper.rb', line 10

def scope; binding; end