Sha256: b8eaf1633136788a1c660b39048fc875c8541a11a9bf02a233ef29c7e2da7685

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

#!/usr/bin/env ruby
%w{rubygems postly irb}.each { |f| require f }

$:.unshift(File.dirname(__FILE__) + '/../lib')

Postly.config = "#{ENV['HOME']}/.posterous"	

include Postly

IRB.setup(nil)
irb = IRB::Irb.new

IRB.conf[:MAIN_CONTEXT] = irb.context

irb.context.evaluate("require 'irb/completion'", 0)

trap("SIGINT") do
  irb.signal_handle
end

catch(:IRB_EXIT) do
  irb.eval_input
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
progressions-postly-0.2.2 bin/postly
postly-0.2.2 bin/postly
postly-0.2.1 bin/postly