Class: Sources
- Inherits:
-
Rake::FileList
- Object
- Rake::FileList
- Sources
- Defined in:
- lib/rakejava.rb
Instance Attribute Summary collapse
-
#root ⇒ Object
Returns the value of attribute root.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ Sources
constructor
A new instance of Sources.
Constructor Details
#initialize(*args) ⇒ Sources
Returns a new instance of Sources.
65 66 67 68 69 |
# File 'lib/rakejava.rb', line 65 def initialize *args @root = args.shift args = args.map { |arg| "#{@root}/#{arg}" } super end |
Instance Attribute Details
#root ⇒ Object
Returns the value of attribute root.
63 64 65 |
# File 'lib/rakejava.rb', line 63 def root @root end |
Class Method Details
.[](*args) ⇒ Object
72 73 74 |
# File 'lib/rakejava.rb', line 72 def [] *args new(*args) end |