Sha256: 545f3ebe520b9b3edee58c10330ac39fe9c541fa8837a762b1ffa1f6d4fdbdc5

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

require_relative "ricecream/ic"

module Kernel
  def ic(*args)
    Ricecream.ic(caller_locations(1, 1).first, :ic, args)
    return *args
  end

  def ic_format(*args)
    Ricecream.format(caller_locations(1, 1).first, :ic_format, args)
  end

  private :ic, :ic_format
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ricecream-0.2.0 lib/ricecream.rb
ricecream-0.1.1 lib/ricecream.rb
ricecream-0.1.0 lib/ricecream.rb