Class: Bently::RubyRecipe::Gem

Inherits:
Append
  • Object
show all
Defined in:
lib/bently/recipe_class/ruby.rb

Instance Method Summary collapse

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

#argsObject



11
# File 'lib/bently/recipe_class/ruby.rb', line 11

def args; [@file, @data, {:verbose => false}] end

#sayObject



10
# File 'lib/bently/recipe_class/ruby.rb', line 10

def say; ['gemfile',@name] end