lib/masterview/directive_helpers.rb in masterview-0.1.3 vs lib/masterview/directive_helpers.rb in masterview-0.1.5

- old
+ new

@@ -8,16 +8,18 @@ #convenience constants defined to allow priority to directives #higher priority (lower value) will be executed first in chain module DirectivePriorities Highest = 0 + UltraHigh = 0x3FFFFFFF/16 VeryHigh = 0x3FFFFFFF/8 High = 0x3FFFFFFF/4 MediumHigh = 0x3FFFFFFF/3 Medium = 0x3FFFFFFF/2 MediumLow = (0x3FFFFFFF/3)*2 Low = (0x3FFFFFFF/4)*3 VeryLow = (0x3FFFFFFF/8)*7 + UltraLow = (0x3FFFFFFF/16)*15 Lowest = 0x3FFFFFFF end # convert render_partial_name to file_name, ex foo/bar to foo/_bar.rhtml def render_partial_name_to_file_name(render_partial_name)