Flowdock
class
Importance_0
Ruby on Rails latest stable (v4.2.1) - 0 notes - Superclass: Object

No documentation

This class has no description. You can help the Ruby on Rails community by adding new notes.

Constants

RENDER_ARGUMENTS = /\A (?:\s*\(?\s*) # optional opening paren surrounded by spaces (?:.*?#{PARTIAL_HASH_KEY}|#{LAYOUT_HASH_KEY})? # optional hash, up to the partial or layout key declaration (?:#{STRING}|#{VARIABLE_OR_METHOD_CHAIN}) # finally, the dependency name of interest /xm

LAYOUT_HASH_KEY = / (?:\blayout:|:layout\s*=>) # layout key in either old or new style hash syntax \s* # followed by optional spaces /x

PARTIAL_HASH_KEY = / (?:\bpartial:|:partial\s*=>) # partial key in either old or new style hash syntax \s* # followed by optional spaces /x

STRING = / (?['"]) # an opening quote (?.*?) # with anything inside, captured as STATIC \k # and a matching closing quote /x

VARIABLE_OR_METHOD_CHAIN = / (?:\$|@{1,2})? # optional global, instance or class variable indicator (?:#{IDENTIFIER}\.)* # followed by an optional chain of zero-argument method calls (?#{IDENTIFIER}) # and a final valid identifier, captured as DYNAMIC /x

IDENTIFIER = / [[:alpha:]_] # at least one uppercase letter, lowercase letter or underscore [[:word:]]* # followed by optional letters, numbers or underscores /x

EXPLICIT_DEPENDENCY = /# Template Dependency: (\S+)/

Attributes

[R] template
[R] name
Show files where this class is defined (1 file)
Register or log in to add new notes.