class LuckyFlow::Selector

Overview

Returns selector or transforms it into a flow-id selector

Example:

Selector.new(".some-class").parse # => ".some-class" Selector.new("@new-comment-button").parse # => "[flow-id='new-comment-button']"

Defined in:

lucky_flow/selector.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(raw_selector : String) #

[View source]

Instance Method Detail

def parse #

[View source]