Sha256: 40950052a2ffe5f96840377b8cb04d54c058669bd06052b5145ea144a411d15a

Contents?: true

Size: 313 Bytes

Versions: 29

Compression:

Stored size: 313 Bytes

Contents

module SomeHelper
  def excitedly(x)
    "#{x}!!!"
  end

  def say_how_awesome_it_is
    output_buffer << "super awesome!"
    "not at all awesome"
  end

  def reverse_it
    s = capture { yield "xx" }
    output_buffer << s.reverse
    "yy" + s
  end

  private
  def a_private_helper
    "private!"
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fortitude-0.0.6-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.6 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.5-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.5 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.4-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.4 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.3 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.2 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.1 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb