Method: Inch::CodeObject::Proxy::Base#constant?

Defined in:
lib/inch/code_object/proxy/base.rb

#constant?Boolean

Returns true if the object represents a constant.

Returns:

  • (Boolean)

    true if the object represents a constant



59
60
61
# File 'lib/inch/code_object/proxy/base.rb', line 59

def constant?
  self[:constant?]
end