module HoboSupport

Constants

CommonTasks
VERSION

Public Class Methods

hobo_try(this, *args, &block) click to toggle source
# File lib/hobo_support/methodcall.rb, line 13
def self.hobo_try(this, *args, &block)
  if args.length==0
    # Hobo style try
    CallIfAvailable.new(this)
  else
    # activesupport 2.3 style try
    this.send(:active_support_try, *args, &block)
  end
end
root() click to toggle source
# File lib/hobo_support.rb, line 24
def self.root; @@root; end