Method: Inch::Codebase::Objects#starting_with
- Defined in:
- lib/inch/codebase/objects.rb
#starting_with(partial_name) ⇒ Array<CodeObject::Proxy>
Returns all objects where the fullname
starts_with the given partial_name
60 61 62 |
# File 'lib/inch/codebase/objects.rb', line 60 def starting_with(partial_name) all.select { |o| o.fullname.start_with?(partial_name) } end |