Sha256: 600544a4ac11f21b759dfa9716acc03d531253f47aa0793d1065649e5bea873e
Contents?: true
Size: 490 Bytes
Versions: 2
Compression:
Stored size: 490 Bytes
Contents
require 'qor_dsl/exception' require 'qor_dsl/class_method' require 'qor_dsl/config' require 'qor_dsl/node' module Qor module Dsl def self.included(base) base.extend ClassMethods end def self.inspect_object(obj, options) options = options.inject({}) do |summary, value| summary[value[0]] = value[1] if value[1] && value[1].to_s.length > 0 summary end "#<#{obj.class}:0x#{obj.object_id.to_s(16)} #{options.inspect}>" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qor_dsl-0.1.5 | lib/qor_dsl.rb |
qor_dsl-0.1.4 | lib/qor_dsl.rb |