Sha256: 26450ed271c04c1cf14d05d3c5dfe77767cabd7e4d2fffc01f97f441f9519ef0

Contents?: true

Size: 406 Bytes

Versions: 34

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

34 entries across 34 versions & 1 rubygems

Version Path
inch-0.9.0.rc1 lib/inch/language/ruby/roles/base.rb
inch-0.8.0 lib/inch/language/ruby/roles/base.rb
inch-0.8.0.rc2 lib/inch/language/ruby/roles/base.rb
inch-0.8.0.rc1 lib/inch/language/ruby/roles/base.rb
inch-0.7.1 lib/inch/language/ruby/roles/base.rb
inch-0.7.0 lib/inch/language/ruby/roles/base.rb
inch-0.6.4 lib/inch/language/ruby/roles/base.rb
inch-0.6.3 lib/inch/language/ruby/roles/base.rb
inch-0.6.2 lib/inch/language/ruby/roles/base.rb
inch-0.6.1 lib/inch/language/ruby/roles/base.rb
inch-0.6.0 lib/inch/language/ruby/roles/base.rb
inch-0.6.0.rc6 lib/inch/language/ruby/roles/base.rb
inch-0.6.0.rc5 lib/inch/language/ruby/roles/base.rb
inch-0.6.0.rc4 lib/inch/language/ruby/roles/base.rb
inch-0.6.0.rc3 lib/inch/language/ruby/roles/base.rb
inch-0.6.0.rc2 lib/inch/language/ruby/roles/base.rb
inch-0.6.0.rc1 lib/inch/language/ruby/roles/base.rb
inch-0.5.10 lib/inch/language/ruby/roles/base.rb
inch-0.5.9 lib/inch/language/ruby/roles/base.rb
inch-0.5.8 lib/inch/language/ruby/roles/base.rb