class String
Extend core String
class with a rule transformer
Public Instance Methods
to_pwtk_rule(features=nil)
click to toggle source
Returns a PowerTrace::Rule instance based on the value of the string.
# File lib/powertrack/rules/string_extension.rb, line 6 def to_pwtk_rule(features=nil) PowerTrack::Rule.new(self, features) end