Sha256: 10c5fb47c64d9dfec7d423307c7d1f243d20130a589f539c0a5c310cc9f0671b

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

# depends on browser command
require 'boson/save'

module Boson
  class Command
    module UrlLibraries
      def library_attributes(library)
        !library.name.include?('url/') ? super :
          super.update(:render_options=>{:pipes=>{:default=>['browser']}, :render=>true})
      end
    end
    extend UrlLibraries
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
boson-more-0.3.1 lib/boson/url_libraries.rb
boson-more-0.3.0 lib/boson/url_libraries.rb
boson-more-0.2.2 lib/boson/url_libraries.rb