Sha256: d5e96ef0fc0246ce98d460a207e3236aa7c3ed788a86c7460293c566c108b2a9
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
module Inch module Language module Ruby module Evaluation module Role # @abstract class Base < Inch::Evaluation::Role # Returns the type of the +object+ that is being evaluated. def object_type object.class.to_s.split("::").last.gsub(/Object$/, "").downcase end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inch-0.5.0.rc5 | lib/inch/language/ruby/roles/base.rb |
inch-0.5.0.rc4 | lib/inch/language/ruby/roles/base.rb |