Method: SimplePosts::Posts#initialize
- Defined in:
- lib/simple_posts/posts.rb
#initialize ⇒ Posts
Returns a new instance of Posts.
22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/simple_posts/posts.rb', line 22 def initialize @posts_by_post_name = {} @posts_by_post_id = {} @posts_by_tag = {} @posts_by_topic = {} @blog_posts = [] @non_blog_posts = [] setup_renderer parse_all end |