class Filipinomemes::Compiler
Constants
- STARTING_CODE
Public Class Methods
new()
click to toggle source
# File lib/filipinomemes/compiler.rb, line 9 def initialize; end
Public Instance Methods
zephyrum(code)
click to toggle source
the contents of the core_ext folder are utitility classes
# File lib/filipinomemes/compiler.rb, line 12 def zephyrum(code) #instantiating objects for compiler class ruby2ruby = Ruby2Ruby.new parser = RubyParser.new sexp = parser.process("# encoding: utf-8\n#{code}") ruby_code = ruby2ruby.process(sexp) "#{STARTING_CODE}#{ruby_code}" end