module Fbomb
libs
Constants
- Version
Attributes
debug[RW]
message[RW]
Public Instance Methods
dependencies()
click to toggle source
# File lib/fbomb.rb, line 22 def dependencies { 'flowdock' => [ 'flowdock' , '~> 0.4' ] , 'eventmachine' => [ 'eventmachine' , '~> 1.0' ] , 'em-http' => [ 'em-http-request' , '~> 1.1' ] , 'json' => [ 'json' , '~> 2.0' ] , 'coerce' => [ 'coerce' , '~> 0.0' ] , 'fukung' => [ 'fukung' , '~> 2.0' ] , 'main' => [ 'main' , '~> 6.1' ] , 'nokogiri' => [ 'nokogiri' , '~> 1.5' ] , 'google-search' => [ 'google-search' , '~> 1.0' ] , 'unidecode' => [ 'unidecode' , '~> 1.0' ] , 'systemu' => [ 'systemu' , '~> 2.3' ] , 'pry' => [ 'pry' , '~> 0.9' ] , 'mechanize' => [ 'mechanize' , '~> 2.7' ] , 'mime/types' => [ 'mime-types' , '~> 3.1' ] } end
leader()
click to toggle source
# File lib/fbomb.rb, line 64 def leader '.' end
libdir(*args, &block)
click to toggle source
# File lib/fbomb.rb, line 41 def libdir(*args, &block) @libdir ||= File.expand_path(__FILE__).sub(/\.rb$/,'') args.empty? ? @libdir : File.join(@libdir, *args) ensure if block begin $LOAD_PATH.unshift(@libdir) block.call() ensure $LOAD_PATH.shift() end end end
load(*libs)
click to toggle source
# File lib/fbomb.rb, line 55 def load(*libs) libs = libs.join(' ').scan(/[^\s+]+/) FBomb.libdir{ libs.each{|lib| Kernel.load(lib) } } end
messages()
click to toggle source
# File lib/fbomb.rb, line 60 def messages @messages ||= Array.new end
uuid()
click to toggle source
# File lib/fbomb.rb, line 68 def uuid UUID.create.to_s end
version()
click to toggle source
# File lib/fbomb.rb, line 18 def version FBomb::Version end