Method: Inch::Language::Elixir::CodeObject::Base#constant?

Defined in:
lib/inch/language/elixir/code_object/base.rb

#constant?Boolean

Returns true if the object represents a constant.

Returns:

  • (Boolean)

    true if the object represents a constant



42
43
44
# File 'lib/inch/language/elixir/code_object/base.rb', line 42

def constant?
  self[:constant?]
end