Class: Bozo::Packagers::ResourcePackage
- Inherits:
-
Object
- Object
- Bozo::Packagers::ResourcePackage
- Defined in:
- lib/bozo/packagers/nuget.rb
Instance Method Summary collapse
- #dependencies ⇒ Object
- #files ⇒ Object
-
#initialize(project, base_directory) ⇒ ResourcePackage
constructor
A new instance of ResourcePackage.
- #name ⇒ Object
Constructor Details
#initialize(project, base_directory) ⇒ ResourcePackage
Returns a new instance of ResourcePackage.
132 133 134 135 |
# File 'lib/bozo/packagers/nuget.rb', line 132 def initialize(project, base_directory) @name = project @base_directory = base_directory end |
Instance Method Details
#dependencies ⇒ Object
141 142 143 |
# File 'lib/bozo/packagers/nuget.rb', line 141 def dependencies [] end |
#files ⇒ Object
145 146 147 |
# File 'lib/bozo/packagers/nuget.rb', line 145 def files [{:src => File.(File.join(@base_directory, '**', '*.*')).gsub(/\//, '\\')}] end |
#name ⇒ Object
137 138 139 |
# File 'lib/bozo/packagers/nuget.rb', line 137 def name @name end |