Module: Ryb::Properties::Paths::InstanceMethods
- Defined in:
- lib/ryb/properties/paths.rb
Instance Method Summary collapse
- #add_binaries_paths(*paths) ⇒ Object
-
#add_includes_paths(*paths) ⇒ Object
TODO(mtwilliams): Refactor.
- #add_libraries_paths(*paths) ⇒ Object
- #paths ⇒ Object
Instance Method Details
#add_binaries_paths(*paths) ⇒ Object
26 27 28 |
# File 'lib/ryb/properties/paths.rb', line 26 def add_binaries_paths(*paths) self.paths[:binaries].push(*(([*paths]).flatten)) end |
#add_includes_paths(*paths) ⇒ Object
TODO(mtwilliams): Refactor. TODO(mtwilliams): Verify existence of paths.
18 19 20 |
# File 'lib/ryb/properties/paths.rb', line 18 def add_includes_paths(*paths) self.paths[:includes].push(*(([*paths]).flatten)) end |
#add_libraries_paths(*paths) ⇒ Object
22 23 24 |
# File 'lib/ryb/properties/paths.rb', line 22 def add_libraries_paths(*paths) self.paths[:libraries].push(*(([*paths]).flatten)) end |
#paths ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/ryb/properties/paths.rb', line 8 def paths @paths ||= { :includes => [], :libraries => [], :binaries => [] } end |