Sha256: 1da0aa49c671970b2a9e23ea8bd2d8f697043b23023137daa853bef0c823ac74

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module Shiyo
  # The module to provide syntax sugars.
  module SyntaxSugar
    # rubocop:disable Naming/MethodName

    # The syntax sugar for `Shiyo::Not.new`
    # @param object Any object.
    # @return [Shiyo::Not]
    def Not(object)
      Shiyo::Not.new(object)
    end
    # rubocop:enable Naming/MethodName
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shiyo-0.1.2 lib/shiyo/syntax_sugar.rb
shiyo-0.1.1 lib/shiyo/syntax_sugar.rb