Sha256: 0da7316f9e4b89317bfe8e16f1aa2715101ecf53083c1bfc8e891d2407fef577

Contents?: true

Size: 781 Bytes

Versions: 10

Compression:

Stored size: 781 Bytes

Contents

class Views::RenderingSystemSpec::RenderHashSubclass < Fortitude::Widgets::Html5
  needs :the_hash, :other_hash

  def content
    text "the_hash class: #{the_hash.class.name}\n"
    # text "is_my_hash? #{the_hash.is_my_hash?.inspect}\n"
    text "the_hash[:foo] #{the_hash[:foo].inspect}\n"
    text "the_hash[\"foo\"] #{the_hash['foo'].inspect}\n"
    text "the_hash[:bar] #{the_hash[:bar].inspect}\n"
    text "the_hash[\"bar\"] #{the_hash['bar'].inspect}\n"

    text "other_hash class: #{other_hash.class.name}\n"
    text "other_hash[:quux] #{other_hash[:quux].inspect}\n"
    text "other_hash[\"quux\"] #{other_hash['quux'].inspect}\n"
    text "other_hash[:marph] #{other_hash[:marph].inspect}\n"
    text "other_hash[\"marph\"] #{other_hash['marph'].inspect}\n"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.6 spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.5-java spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.5 spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.4-java spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.4 spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.3-java spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.3 spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.2-java spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb
fortitude-0.9.2 spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb