Class: Bently::RubyRecipe::Gem
- Inherits:
-
Append
- Object
- Append
- Bently::RubyRecipe::Gem
- Defined in:
- lib/bently/recipe_class/ruby.rb
Instance Method Summary collapse
- #args ⇒ Object
-
#initialize(*args) ⇒ Gem
constructor
A new instance of Gem.
- #say ⇒ Object
Constructor Details
#initialize(*args) ⇒ Gem
Returns a new instance of Gem.
6 7 8 9 |
# File 'lib/bently/recipe_class/ruby.rb', line 6 def initialize *args super @name = args[2] end |
Instance Method Details
#args ⇒ Object
11 |
# File 'lib/bently/recipe_class/ruby.rb', line 11 def args; [@file, @data, {:verbose => false}] end |
#say ⇒ Object
10 |
# File 'lib/bently/recipe_class/ruby.rb', line 10 def say; ['gemfile',@name] end |