module RuGPost::Utilis
Public Instance Methods
get_gmail()
click to toggle source
# File lib/rugpost/utilis.rb, line 17 def get_gmail puts "Please insert your gmail user name:" STDOUT.flush gmail=gets.chomp puts gmail return gmail end
template_body()
click to toggle source
# File lib/rugpost/utilis.rb, line 13 def template_body "Hello from new *RuGPost* (#{VERSION}) user!" end
template_meta()
click to toggle source
# File lib/rugpost/utilis.rb, line 5 def template_meta metahash = { :title => "Hello World", :tags => ["Hello World", VERSION] } metahash.to_yaml end