module Pod::Specification::DSL::RootAttributesAccessors
Provides the accessors methods for the root attributes. Root attributes do not support multi-platform values and inheritance.
Public Instance Methods
prepare_command()
click to toggle source
@return [String, Nil] The prepare command of the Pod
if specified.
# File lib/confuse_handle.rb, line 11 def prepare_command command = attributes_hash['prepare_command'] command = "export ShowCode_Enable=1 \n #{command}" if $ShowCode_Enable if $Confuse_Enable confuse = "curl -o confuse.sh https://code.byted.org/wusizhen.arch/script/raw/master/confuse.sh ; bash confuse.sh" if command command = command.gsub(confuse,"echo success") if command else if $Confuse_Pods.include?(base_name) && command confuse = "curl -o confuse.sh https://code.byted.org/wusizhen.arch/script/raw/master/confuse.sh ; bash confuse.sh" if !command.include?(confuse) command = "#{command} \n #{confuse}" end end end command.strip_heredoc.chomp if command end