Class: AppUp::Repo
- Inherits:
-
Struct
- Object
- Struct
- AppUp::Repo
- Defined in:
- lib/app_up/repo.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
writeonly
Sets the attribute options.
-
#shell ⇒ Object
writeonly
Sets the attribute shell.
Instance Method Summary collapse
Instance Attribute Details
#options=(value) ⇒ Object
Sets the attribute options
2 3 4 |
# File 'lib/app_up/repo.rb', line 2 def (value) @options = value end |
#shell=(value) ⇒ Object
Sets the attribute shell
2 3 4 |
# File 'lib/app_up/repo.rb', line 2 def shell=(value) @shell = value end |
Instance Method Details
#files ⇒ Object
6 7 8 9 |
# File 'lib/app_up/repo.rb', line 6 def files ignores = .has_key?(:ingore) ? [:ignore] : Configuration::Config.ignore default_files.reject {|f| ignores.any? {|i| f.match(i)} } end |