Class: Website::Delete
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Website::Delete
- Defined in:
- lib/meerpush/rake/website.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #define ⇒ Object
-
#initialize(name = :delete) {|@w.site| ... } ⇒ Delete
constructor
A new instance of Delete.
Constructor Details
#initialize(name = :delete) {|@w.site| ... } ⇒ Delete
Returns a new instance of Delete.
39 40 41 42 43 44 45 |
# File 'lib/meerpush/rake/website.rb', line 39 def initialize(name = :delete) @name = name @w = MeerPush::IIS7::WebsiteController.new yield @w.site if block_given? define end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
37 38 39 |
# File 'lib/meerpush/rake/website.rb', line 37 def name @name end |