Sha256: c792f1ea2f0539b9bd229967799f1e8fb328fa2b9d66a0d053bf9ff622766aee

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

class String
  def clear
    replace("")
  end
end

module M
  def hello; :hello_module; end
end

$o = Object.new
def $o.hello; :hello_singleton; end

# A comment for hello
  
  # It spans two lines and is indented by 2 spaces
def hello; :hello; end

# a
# b
def comment_test1; end

 # a
 # b
def comment_test2; end

# a
#
# b
def comment_test3; end

# a

# b
def comment_test4; end


# a
  # b
    # c
# d
def comment_test5; end

# This is a comment for MyLambda
MyLambda = lambda { :lambda }
MyProc = Proc.new { :proc }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
method_source-0.3.3 test/test_helper.rb
method_source-0.3.2 test/test_helper.rb