Method: Moft::Tags::PostUrl#initialize
- Defined in:
- lib/moft/tags/post_url.rb
#initialize(tag_name, post, tokens) ⇒ PostUrl
Returns a new instance of PostUrl.
23 24 25 26 27 |
# File 'lib/moft/tags/post_url.rb', line 23 def initialize(tag_name, post, tokens) super @orig_post = post.strip @post = PostComparer.new(@orig_post) end |