module Redstruct::Utils::Scriptable

Provides utility methods to add lua scripts to any class

Public Class Methods

included(base) click to toggle source

Callback called whenever the module is included. Adds all methods under ClassMethods as class methods of the includer.

# File lib/redstruct/utils/scriptable.rb, line 11
def self.included(base)
  base.extend(ClassMethods)
end