Sha256: d72fe362420798f54cd4113e7b02ceb60ee52eac9815a583eaa11f359204ffb8

Contents?: true

Size: 690 Bytes

Versions: 1

Compression:

Stored size: 690 Bytes

Contents

class TokyoMetro::App::Renderer::Concerns::Header::MetaClass < TokyoMetro::Factory::Decorate::MetaClass

  def initialize(
    request , text_ja , text_en ,
    domain_id_name: nil ,
    domain_class_name: nil ,
    additional_content: nil
  )
    super( request )
    @domain_class_name = domain_class_name
    @text_ja = text_ja
    @text_en = text_en
    @domain_id_name = domain_id_name
    @additional_content = additional_content
  end

  private

  def h_locals
    super.merge({
      domain_class_name: @domain_class_name ,
      text_ja: @text_ja ,
      text_en: @text_en ,

      domain_id_name: @domain_id_name ,
      additional_content: @additional_content
    })
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/app/renderer/concerns/header/meta_class.rb