Class: TDiary::TDiaryMonthBase

Inherits:
TDiaryView show all
Defined in:
lib/tdiary/view.rb

Overview

class TDiaryMonthBase

base of TDiaryMonth and TDiaryNYear

Direct Known Subclasses

TDiaryMonth, TDiaryNYear

Constant Summary

Constants inherited from TDiaryBase

TDiary::TDiaryBase::DIRTY_COMMENT, TDiary::TDiaryBase::DIRTY_DIARY, TDiary::TDiaryBase::DIRTY_NONE, TDiary::TDiaryBase::DIRTY_REFERER

Instance Attribute Summary

Attributes inherited from TDiaryBase

#cgi, #conf, #cookies, #date, #diaries, #ignore_parser_cache, #rhtml

Instance Method Summary collapse

Methods inherited from TDiaryView

#initialize, #last_modified

Methods inherited from TDiaryBase

#[], #calendar, #initialize, #last_modified

Methods included from ViewHelper

#base_url, #bot?

Constructor Details

This class inherits a constructor from TDiary::TDiaryView

Instance Method Details

#eval_rhtml(prefix = '') ⇒ Object



239
240
241
242
243
244
245
# File 'lib/tdiary/view.rb', line 239

def eval_rhtml( prefix = '' )
	if @diaries.empty? and bot?
		raise NotFound
	else
		super(prefix)
	end
end