Sha256: ad22d2ce20758ceb34390f7cba1c7ae7e9e2bc25e480974f9700019153b3abe5

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

require "active_support/concern"

module Redmine
  module Generators
    module RemoteableLinks
      extend ActiveSupport::Concern

      protected
      def maybe_remote
        ", " + key_value(:remote, "true") if remote_option
      end

      def remote_option
        parent_options[:remote]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine-generators-0.0.1 lib/redmine/generators/remoteable_links.rb