Sha256: ddaea895ea4e969800f6062ee77ffeadb1656902621bc125be516e00736c5e24

Contents?: true

Size: 482 Bytes

Versions: 6

Compression:

Stored size: 482 Bytes

Contents

module Assets

  # Abstract base class for asset environments
  class Environment
    include AbstractType

    # Return rule
    #
    # @param [String] name
    #
    # @return [Rule]
    #   if found
    #
    # @return [nil]
    #   otherwise
    #
    # @api private
    # 
    abstract_method :rule

    # Return asset
    #
    # @return [Asset]
    #   if found
    #
    # @return [nil]
    #   otherwise
    #
    # @api private
    # 
    abstract_method :get

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mbj-assets-0.0.8 lib/assets/environment.rb
mbj-assets-0.0.7 lib/assets/environment.rb
mbj-assets-0.0.6 lib/assets/environment.rb
mbj-assets-0.0.5 lib/assets/environment.rb
mbj-assets-0.0.4 lib/assets/environment.rb
mbj-assets-0.0.3 lib/assets/environment.rb