Class: Envandle::Elements::GitSourceBlock
Instance Method Summary
collapse
#<<, #children, #children_by_type, #dsl, #gemfile, #groups_or_default, #initialize, #parse_string_option, #parse_string_value, #send_to_bundler, #send_to_history
Instance Method Details
#bundler_argsets ⇒ Object
11
12
13
14
15
|
# File 'lib/envandle/elements/git_source_block.rb', line 11
def bundler_argsets
@bundler_argsets ||= [].tap do |a|
a << Argset.new(:git_source, *@args.args_and_options, &@args.block)
end
end
|
#draw ⇒ Object
4
5
|
# File 'lib/envandle/elements/git_source_block.rb', line 4
def draw
end
|
#history_argsets ⇒ Object
17
18
19
20
21
|
# File 'lib/envandle/elements/git_source_block.rb', line 17
def history_argsets
@history_argsets ||= [].tap do |a|
a << Argset.new(:git_source, *@args.args_and_options, @args.block.class.name)
end
end
|
#type ⇒ Object
7
8
9
|
# File 'lib/envandle/elements/git_source_block.rb', line 7
def type
:git_source_block
end
|