Sha256: 6c007f18e17c4411379108f8038408ab122b0d6a0cf1940c2506d37153de8d05

Contents?: true

Size: 606 Bytes

Versions: 29

Compression:

Stored size: 606 Bytes

Contents

#sample ruby source code 

require "test"
CONSTANT = 777

# Sample comment

module SampleModule
  include Testcase

  render :action => 'foo'
  def foo(parameter)
    @parameter = parameter
  end

  local_var = eval <<-"FOO";\
  printIndex "Hello world!"
  And now this is heredoc!
  printIndex "Hello world again!"
  FOO
  foo("#{$GLOBAL_TIME >> $`} is \Z sample \"string\"" * 777);
  if ($1 =~ /sample regular expression/ni) then
  begin
    puts %W(sample words), CONSTANT, :fooo;
    do_something :action => "action"
  end
  1.upto(@@n) do |index| printIndex "Hello" + index end
  \\\\\\\\\\
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
rmthemegen-0.0.49 test/sample_ruby_source
rmthemegen-0.0.48 test/sample_ruby_source
rmthemegen-0.0.47 test/sample_ruby_source
rmthemegen-0.0.46 test/sample_ruby_source
rmthemegen-0.0.45 test/sample_ruby_source
rmthemegen-0.0.44 test/sample_ruby_source
rmthemegen-0.0.42 test/sample_ruby_source
rmthemegen-0.0.41 test/sample_ruby_source
rmthemegen-0.0.40 test/sample_ruby_source
rmthemegen-0.0.39 test/sample_ruby_source
rmthemegen-0.0.38 test/sample_ruby_source
rmthemegen-0.0.37 test/sample_ruby_source
rmthemegen-0.0.33 test/sample_ruby_source
rmthemegen-0.0.32 test/sample_ruby_source
rmthemegen-0.0.30 test/sample_ruby_source
rmthemegen-0.0.29 test/sample_ruby_source
rmthemegen-0.0.28 test/sample_ruby_source
rmthemegen-0.0.27 test/sample_ruby_source
rmthemegen-0.0.26 test/sample_ruby_source
rmthemegen-0.0.25 test/sample_ruby_source