class GemfileUtils::Parser::Gemfile
Public Instance Methods
dependency(match)
click to toggle source
Calls superclass method
# File lib/gemfile_utils/parser/gemfile.rb, line 11 def dependency(match) dep = super(match) dep.instance_variable_set(:@indention, match.to_s.index(/[^ ]/) ) #count spaces before gem method dep end
exclude?(_match, _opts)
click to toggle source
do not exclude any gem
# File lib/gemfile_utils/parser/gemfile.rb, line 7 def exclude?(_match, _opts) false end