class ImageParadise::Base
Constants
- N
Public Class Methods
Public Instance Methods
be_verbose?()
click to toggle source
chdir(i)
click to toggle source
#¶ ↑
chdir (cd tag)¶ ↑
#¶ ↑
# File lib/image_paradise/base/base.rb, line 186 def chdir(i) Dir.chdir(i) end
Also aliased as: cd
commandline_arguments?()
click to toggle source
commandline_arguments_as_stripped_string()
click to toggle source
#¶ ↑
commandline_arguments_as_stripped_string
¶ ↑
This variant will return the commandline arguments as a String
.
Note that any –hyphened argument will be ignored.
#¶ ↑
# File lib/image_paradise/base/base.rb, line 151 def commandline_arguments_as_stripped_string @commandline_arguments.reject {|entry| entry.start_with?('--') }.join(' ').strip end
commandline_arguments_starting_with_hyphens?()
click to toggle source
#¶ ↑
commandline_arguments_starting_with_hyphens?¶ ↑
#¶ ↑
# File lib/image_paradise/base/base.rb, line 140 def commandline_arguments_starting_with_hyphens? return @commandline_arguments.select {|entry| entry.start_with? '--' } end
Also aliased as: commandline_arguments_via_leading_hyphens
eparse(i)
click to toggle source
esystem(i)
click to toggle source
first_argument?()
click to toggle source
#¶ ↑
first_argument?¶ ↑
#¶ ↑
# File lib/image_paradise/base/base.rb, line 121 def first_argument? @commandline_arguments.first end
Also aliased as: first?
first_argument_without_hyphen?()
click to toggle source
increment_this_number_by_one(i)
click to toggle source
is_an_image_file?(i)
click to toggle source
is_on_roebe?()
click to toggle source
mkdir(i)
click to toggle source
#¶ ↑
mkdir¶ ↑
#¶ ↑
# File lib/image_paradise/base/base.rb, line 69 def mkdir(i) FileUtils.mkdir_p(i) unless File.directory? i end
Also aliased as: mkdir_p
opnn( i = @namespace )
click to toggle source
output_file_exists?( i = name_of_the_output_file? )
click to toggle source
rds(i)
click to toggle source
register_sigint()
click to toggle source
reset()
click to toggle source
return_all_images_from(this_directory)
click to toggle source
return_pwd()
click to toggle source
set_commandline_arguments(i = '')
click to toggle source
today()
click to toggle source