Class: TDiary::TDiaryForm

Inherits:
Object
  • Object
show all
Defined in:
lib/tdiary/style/blog.rb

Instance Method Summary collapse

Instance Method Details

#eval_rhtml(prefix = '') ⇒ Object



91
92
93
94
95
96
97
98
99
# File 'lib/tdiary/style/blog.rb', line 91

def eval_rhtml( prefix = '' )
	if /^blog/i =~ @conf.style then
		blog_newdate( @date ) do |recent|
			@date = Time::local( *recent.scan( /(\d{4})(\d\d)(\d\d)/ )[0] ) + 24*60*60
			@diary = @io.diary_factory( @date, '', '' )
		end
	end
	eval_rhtml_blogkit( prefix )
end

#eval_rhtml_blogkitObject



90
# File 'lib/tdiary/style/blog.rb', line 90

alias eval_rhtml_blogkit eval_rhtml