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.9.6-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.6 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.5-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.5 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.4-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.4 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.3-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.3 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.2-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.2 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.1-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.1 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.0-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.9.0 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.10-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.10 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.9-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.9 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.7-java spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb
fortitude-0.0.7 spec/rails/templates/helpers_system_spec/app/helpers/some_helper.rb