Module: RoHelpers::BashBuilderHelper::ClsMeths
Instance Method Summary
collapse
#def_meth, #meth_feature, #method_added, #meths, #singleton_method_added
Instance Method Details
#after_each ⇒ Object
22
23
24
|
# File 'lib/bash_builder_helper.rb', line 22
def after_each
content << @ctn
end
|
26
27
28
29
|
# File 'lib/bash_builder_helper.rb', line 26
def content
@content.uniq! if @content.respond_to?(:uniq!)
@content ||= []
end
|
18
19
20
|
# File 'lib/bash_builder_helper.rb', line 18
def ctn
@ctn ||= ""
end
|
#is_helper?(meth) ⇒ Boolean
14
15
16
|
# File 'lib/bash_builder_helper.rb', line 14
def is_helper?(meth)
::BashBuilderHelper.meths.include?(meth)
end
|
31
32
33
|
# File 'lib/bash_builder_helper.rb', line 31
def target
File.join(RoCommands.root, 'ro_commands.sh')
end
|