Sha256: a38be480bb3390b811369e999c9a09488c28c6eb4dcbb718e3f24c3be8bf3e7d

Contents?: true

Size: 824 Bytes

Versions: 3

Compression:

Stored size: 824 Bytes

Contents

####################################################
# The file is was originally cloned from "Basic App"
# More information on "Basic App" can be found in the
# "Basic App" repository.
#
# See http://github.com/robertwahler
####################################################
module RepoManager

  # An abstract superclass for basic action functionality specific to an
  # application implementation.  Put application specific code here.
  class AppAction < BaseAction

    # Used by asset factory to create assets.  Override in app_action.rb or a
    # descendant to set the class to be instantiated by by the AssetManager.
    #
    # @return [Symbol] asset type
    def asset_type
      :repo_asset
    end

    # alias for items/assets
    #
    # @return [Array] of repos
    def repos
      items
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
repo_manager-0.7.3 lib/repo_manager/actions/app_action.rb
repo_manager-0.7.2 lib/repo_manager/actions/app_action.rb
repo_manager-0.7.1 lib/repo_manager/actions/app_action.rb