Sha256: aba5c1524f4c084bb7b82200cce4a071cd964a1fb73b62a08b8fe4ef4ecfc307
Contents?: true
Size: 434 Bytes
Versions: 16
Compression:
Stored size: 434 Bytes
Contents
module RailsConnector class ContentStateVisitor def initialize(start_content_state) @next_content_state, @visited = start_content_state, [] end def visit_next if content_state = @next_content_state @visited << content_state @next_content_state = content_state.from_content_state content_state end end def visited_except_current @visited[0..-2] end end end
Version data entries
16 entries across 16 versions & 1 rubygems