Sha256: da8ea3f6ddc3b5a4d82602db36cf10ad0b8f3f69184e376dcb4df23a830424d5
Contents?: true
Size: 496 Bytes
Versions: 3
Compression:
Stored size: 496 Bytes
Contents
require 'lounge_lizard/version' require 'ffi' require 'json' require 'lounge_lizard/binding' # Convenience methods, so you don't have to access the bindings directly module LoungeLizard def self.parse(mson) parse_result = FFI::MemoryPointer.new :pointer Binding.drafter_parse_blueprint_to(mson, parse_result, Binding::DrafterOptions.as_json) parse_result = parse_result.get_pointer(0) parse_result.read_string unless parse_result.null? ensure parse_result.free end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lounge_lizard-0.1.3 | lib/lounge_lizard.rb |
lounge_lizard-0.1.2 | lib/lounge_lizard.rb |
lounge_lizard-0.1.1 | lib/lounge_lizard.rb |