Sha256: 3f8f28077f85e62010e299d128b23a2daac3733fa6973f0febfa8967784a6a25

Contents?: true

Size: 409 Bytes

Versions: 12

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

# Triple. This example is used to test automatic detection of variable data type in yaml.
#
# @author Royce Remulla
#
class Triple
  # Perform logical AND operation on two arguments.
  #
  # @param argument1 first argument of Boolean type.
  # @param argument2 second argument of Boolean type.
  def triple(argument1, argument2, _argument3)
    argument1 && argument2
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rast-0.18.0 examples/triple.rb
rast-0.15.1 examples/triple.rb
rast-0.14.0 examples/triple.rb
rast-0.11.4 examples/triple.rb
rast-0.11.3 examples/triple.rb
rast-0.11.1 examples/triple.rb
rast-0.11.0 examples/triple.rb
rast-0.10.0 examples/triple.rb
rast-0.9.0 examples/triple.rb
rast-0.9.0.pre examples/triple.rb
rast-0.8.1.pre examples/triple.rb
rast-0.8.0.pre examples/triple.rb