Class: AddTrustPathsTask
- Inherits:
-
Rake::Task
- Object
- Rake::Task
- AddTrustPathsTask
- Defined in:
- lib/rake_helpers/tasks/trust.rb
Instance Attribute Summary collapse
-
#trust_name ⇒ Object
Returns the value of attribute trust_name.
-
#trusted_paths ⇒ Object
Returns the value of attribute trusted_paths.
Instance Method Summary collapse
Instance Attribute Details
#trust_name ⇒ Object
Returns the value of attribute trust_name.
4 5 6 |
# File 'lib/rake_helpers/tasks/trust.rb', line 4 def trust_name @trust_name end |
#trusted_paths ⇒ Object
Returns the value of attribute trusted_paths.
4 5 6 |
# File 'lib/rake_helpers/tasks/trust.rb', line 4 def trusted_paths @trusted_paths end |
Instance Method Details
#do_enable_trust ⇒ Object
11 12 13 |
# File 'lib/rake_helpers/tasks/trust.rb', line 11 def do_enable_trust TrustManager.new.add_to_trust(trust_name, *trusted_paths) end |
#execute(*args) ⇒ Object
6 7 8 9 |
# File 'lib/rake_helpers/tasks/trust.rb', line 6 def execute(*args) super do_enable_trust end |