Skip to content

Commit

Permalink
Keep comment line length to 80
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed Nov 21, 2014
1 parent f19413e commit e815899
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/curly/presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,14 @@ def presenter_for_name(name)
end
end

# Whether a component is available to templates rendered with the presenter.
# Whether a component is available to templates rendered with the
# presenter.
#
# Templates have components which correspond with methods defined on
# the presenter. By default, only public instance methods can be
# referenced, and any method defined on Curly::Presenter itself cannot be
# referenced. This means that methods such as `#cache_key` and #inspect are
# not available. This is done for safety purposes.
# referenced. This means that methods such as `#cache_key` and #inspect
# are not available. This is done for safety purposes.
#
# This policy can be changed by overriding this method in your presenters.
#
Expand Down Expand Up @@ -256,7 +257,8 @@ def version(version = nil)
@version || 0
end

# The cache key for the presenter class. Includes all dependencies as well.
# The cache key for the presenter class. Includes all dependencies as
# well.
#
# Returns a String cache key.
def cache_key
Expand Down

0 comments on commit e815899

Please sign in to comment.