Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/gollum/frontend/app.rb,
lib/gollum/frontend/uri_encode_component.rb
Overview
define charCodeAt on String
Instance Method Summary collapse
- #charCodeAt(k) ⇒ Object
-
#to_url ⇒ Object
_Header => header which causes errors.
- #upstream_to_url ⇒ Object
Instance Method Details
#charCodeAt(k) ⇒ Object
41 42 43 |
# File 'lib/gollum/frontend/uri_encode_component.rb', line 41 def charCodeAt(k) return self[k].ord end |
#to_url ⇒ Object
_Header => header which causes errors
19 20 21 22 23 |
# File 'lib/gollum/frontend/app.rb', line 19 def to_url return nil if self.nil? return self if ['_Header', '_Footer', '_Sidebar'].include? self upstream_to_url end |
#upstream_to_url ⇒ Object
17 |
# File 'lib/gollum/frontend/app.rb', line 17 alias :upstream_to_url :to_url |