Class: Rubyzen::Collections::ConstantsCollection

Inherits:
BaseCollection
  • Object
show all
Includes:
Providers::CollectionFilterProvider
Defined in:
lib/rubyzen/collections/constants_collection.rb

Overview

Collection of constant declarations found in files, classes, or modules.

Examples:

Filtering constants by name

project.files.constants.with_name('VERSION')

Method Summary

Methods included from Providers::CollectionFilterProvider

#with_name, #with_name_ending_with, #with_name_including, #with_name_starting_with, #without_name, #without_name_ending_with, #without_name_including, #without_name_starting_with

Methods inherited from BaseCollection

#filter