module Scribble
  module Methods
    class App < Method
      register :app, String

      def app name
        apps.public_send(name)
      end

      private

      def apps
        @receiver.variables[:current_school].apps
      end
    end
  end
end
