Class: Bently::Recipe::Remove

Inherits:
Operation show all
Defined in:
lib/bently/recipe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Operation

#after, #say

Constructor Details

#initialize(*args) ⇒ Remove

Returns a new instance of Remove.



79
80
81
82
# File 'lib/bently/recipe.rb', line 79

def initialize *args
  @args = args
  @file = @args[0]
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



78
79
80
# File 'lib/bently/recipe.rb', line 78

def args
  @args
end

#fileObject (readonly)

Returns the value of attribute file.



78
79
80
# File 'lib/bently/recipe.rb', line 78

def file
  @file
end