Module: Cathode::ResourceDsl

Included in:
Resource, Version
Defined in:
lib/cathode/resource_dsl.rb

Overview

Holds the domain-specific language (DSL) for describing resources.

Instance Method Summary collapse

Instance Method Details

#_resourcesArray

Lists all the resources; initializes an empty ‘ObjectCollection` if there aren’t any yet

Returns:

  • (Array)

    The resources



7
8
9
# File 'lib/cathode/resource_dsl.rb', line 7

def _resources
  @_resources ||= ObjectCollection.new
end