module Draco::State

Constants

VERSION

Public Class Methods

included(mod) click to toggle source
# File lib/draco/state.rb, line 11
def self.included(mod)
  raise NotAnEntityError, "Draco::State can only be included on Draco::Entity subclasses." unless mod.ancestors.include?(Draco::Entity)

  mod.extend(ClassMethods)
  mod.prepend(EntityPlugin)
end