Class: Envandle::Elements::Source

Inherits:
Envandle::Element show all
Defined in:
lib/envandle/elements/source.rb

Instance Method Summary collapse

Methods inherited from Envandle::Element

#<<, #children, #children_by_type, #draw, #dsl, #gemfile, #groups_or_default, #history_argsets, #initialize, #parse_string_option, #parse_string_value, #send_to_bundler, #send_to_history

Constructor Details

This class inherits a constructor from Envandle::Element

Instance Method Details

#bundler_argsetsObject



8
9
10
11
12
# File 'lib/envandle/elements/source.rb', line 8

def bundler_argsets
  @bundler_argsets ||= [].tap do |a|
    a << Argset.new(:source, *@args.args_and_options)
  end
end

#typeObject



4
5
6
# File 'lib/envandle/elements/source.rb', line 4

def type
  :source
end