class Customization

Public Class Methods

new(regex, action) click to toggle source
# File lib/stream_prettifier.rb, line 7
def initialize(regex, action)
    @regex = regex
    @action = action
end

Public Instance Methods

action() click to toggle source
# File lib/stream_prettifier.rb, line 12
def action
    @action
end
regex() click to toggle source
# File lib/stream_prettifier.rb, line 16
def regex
    @regex
end