Class: Wool::Rake::WoolTask::Settings

Inherits:
Struct
  • Object
show all
Defined in:
lib/wool/rake/task.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Settings

Returns a new instance of Settings.



5
6
7
8
9
10
11
12
# File 'lib/wool/rake/task.rb', line 5

def initialize(*args)
  super
  self.libs ||= []
  self.extras ||= []
  self.options ||= ''
  self.using ||= []
  self.fix ||= []
end

Instance Attribute Details

#extrasObject

Returns the value of attribute extras

Returns:

  • (Object)

    the current value of extras



4
5
6
# File 'lib/wool/rake/task.rb', line 4

def extras
  @extras
end

#fixObject

Returns the value of attribute fix

Returns:

  • (Object)

    the current value of fix



4
5
6
# File 'lib/wool/rake/task.rb', line 4

def fix
  @fix
end

#libsObject

Returns the value of attribute libs

Returns:

  • (Object)

    the current value of libs



4
5
6
# File 'lib/wool/rake/task.rb', line 4

def libs
  @libs
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



4
5
6
# File 'lib/wool/rake/task.rb', line 4

def options
  @options
end

#usingObject

Returns the value of attribute using

Returns:

  • (Object)

    the current value of using



4
5
6
# File 'lib/wool/rake/task.rb', line 4

def using
  @using
end