Sha256: 880fb894c106b6a40006620c533f96e92fa183cbb8d4f69861565f953eba0871

Contents?: true

Size: 360 Bytes

Versions: 2

Compression:

Stored size: 360 Bytes

Contents

# #!/usr/bin/env ruby
# :PUBLISHER: source, gist
# :BRACKET_CODE: <pre>, </pre>
# :PROCESS: ruby, "ruby %f"

# :SAMPLE: hello
def hello(who)
  puts "Hello, #{who}"
end

hello("World")

# :TEXT:
# Check out my amazing program!  Here's the hello method:
# :INSERT: @hello:/def/../end/

# And here's the output:
# :INSERT: @hello|ruby
# :SET: 'GIST_ID', '150868'

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
devver-germinate-1.2.0 examples/short.rb
germinate-1.2.0 examples/short.rb