class TokyoMetro::App::Renderer::RealTimeInfos::MetaDatum::TrainOperationInfos
Public Instance Methods
render()
click to toggle source
# File lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb, line 3 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
render_title()
click to toggle source
# File lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb, line 17 def render_title render_title_of_each_content( :train_operation , ::TrainOperation::InfoDecorator.common_title_ja , ::TrainOperation::InfoDecorator.common_title_en ) end