Sha256: 9666af5c21a2d48c3d311d01bab8ac769f92cb92444a4e3e80688f9f6ee15794

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "figtree"

require "parslet/convenience"

parser = Figtree::Parser.new

require "pry"
command_set = Pry::CommandSet.new do
  command "parse_ini_named", "", :keep_retval => true do |name|
    parser = Figtree::Parser.new
    ini_as_string = File.read("spec/support/#{name}.ini")
    parser.parse_with_debug(ini_as_string)
  end
end

#Pry.start parser, :commands => command_set
Pry.start nil, :commands => command_set

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
figtree-2.0.1 bin/console
figtree-2.0.0 bin/console