Sha256: aeaf0a844b19131210d2be29b98269dcb6314fc951f1b671e5018f54e0ad9d09
Contents?: true
Size: 549 Bytes
Versions: 1
Compression:
Stored size: 549 Bytes
Contents
module BashBuilderHelper include RoCommands::RoHelper class << self def included(base) base.extend(ClsMeths) end end module ClsMeths include RoCommands::RoHelper::ClassMethods def is_helper?(meth) ::BashBuilderHelper.meths.include?(meth) end def ctn @ctn ||= "" end def after_each content << @ctn end def content @content.uniq! if @content.respond_to?(:uniq!) @content ||= [] end def target File.join($root, 'ro_commands.sh') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ro_commands-0.0.1 | lib/bash_builder_helper.rb |