Sha256: f9d970ebe10128e21976cc11311ed52d9fbb97412826c6b33ca1f6f3be8d2f66

Contents?: true

Size: 725 Bytes

Versions: 1

Compression:

Stored size: 725 Bytes

Contents

class TokyoMetro::App::Renderer::RealTimeInfos::MetaDatum::TrainOperationInfos < TokyoMetro::App::Renderer::RealTimeInfos::MetaDatum::MetaClass

  def render
    h.render inline: <<-HAML , type: :haml , locals: { this: self }
%li{ class: :train_operation_info }
  %ul{ class: :titles }
    = this.render_title
  %ul{ class: :time_infos_of_category }
    = this.render_dc_date_ja
    = this.render_next_update_time_ja
    %ul{ class: [ :en , :text_en ] }<
      = this.render_dc_date_en
      = this.render_next_update_time_en
    HAML
  end

  def render_title
    render_title_of_each_content( :train_operation , ::TrainOperation::InfoDecorator.common_title_ja , ::TrainOperation::InfoDecorator.common_title_en )
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb