class Binding

Public Instance Methods

fx(fxf, dir=File.dirname(self.eval("__FILE__"))) click to toggle source
# File lib/fxruby-enhancement/core-monkey.rb, line 22
def fx fxf, dir=File.dirname(self.eval("__FILE__"))
  filepath = File.expand_path("#{fxf}.fx", dir)
  self.eval(File.read(filepath), filepath)
end