Sha256: 13ca6a515ae13376585237e1730acc4d62128279daed3b0038f3a1465e5e3dbd

Contents?: true

Size: 417 Bytes

Versions: 10

Compression:

Stored size: 417 Bytes

Contents

class << Hirb::View
  alias_method :enable_output_method_existing, :enable_output_method
  alias_method :disable_output_method_existing, :disable_output_method

  def enable_output_method
    @output_method = true
    JazzFingers.config.awesome_print = true
    enable_output_method_existing
  end

  def disable_output_method
    JazzFingers.config.awesome_print = false
    disable_output_method_existing
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jazz_fingers-4.0.1 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-4.0.0 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-3.0.2 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-3.0.1 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-3.0.0 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-2.0.2 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-2.0.2.rc1 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-2.0.1 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-2.0.1.rc1 lib/jazz_fingers/hirb_ext.rb
jazz_fingers-2.0.0 lib/jazz_fingers/hirb_ext.rb