Sha256: 56f624f28d10064d2321f6841799b44fa4e20c1364498fd6d0e8e856caeb070b
Contents?: true
Size: 340 Bytes
Versions: 6
Compression:
Stored size: 340 Bytes
Contents
require "hydra_editor/engine" require "bootstrap_form" module HydraEditor class InvalidType < RuntimeError; end extend ActiveSupport::Autoload autoload :ControllerResource def self.models= val @models = val end def self.models @models ||= [] end def self.valid_model?(type) models.include? type end end
Version data entries
6 entries across 6 versions & 1 rubygems