module McBlocky

Constants

VERSION

Public Class Methods

reload!() click to toggle source
# File lib/mcblocky.rb, line 2
def self.reload!
  McBlocky.send(:remove_const, :DSL) if defined? McBlocky::DSL
  McBlocky.send(:remove_const, :Context) if defined? McBlocky::Context
  McBlocky.send(:remove_const, :Executor) if defined? McBlocky::Executor
  load File.expand_path('mcblocky/dsl.rb', File.dirname(__FILE__))
  load File.expand_path('mcblocky/context.rb', File.dirname(__FILE__))
  load File.expand_path('mcblocky/executor.rb', File.dirname(__FILE__))
end