Sha256: 0b053aaaec6f232da5f82119fd15bdc8196782db032d821cd8b2eba9b9f4fff2

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

require 'erb'
require 'yarv_generator/version'
class YarvGenerator
  def self.build_from_source(src)
    YarvGenerator::Builder.new.build_from_source(src)
  end

  def self.indent(str, span)
    str.split("\n").map do |line|
      "#{'  ' * span}#{line}"
    end.join("\n")
  end
end
require 'yarv_generator/iseq'
require 'yarv_generator/instruction'
require 'yarv_generator/yarv_generator'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yarv_generator-0.2.3 lib/yarv_generator.rb
yarv_generator-0.2.2 lib/yarv_generator.rb
yarv_generator-0.2.1 lib/yarv_generator.rb
yarv_generator-0.2.0 lib/yarv_generator.rb
yarv_generator-0.1.0 lib/yarv_generator.rb