Sha256: 5c8fc8a8abe92a6c0d8b07f08eb314bebb26382c2245d020d1e953678cd1bc34

Contents?: true

Size: 195 Bytes

Versions: 14

Compression:

Stored size: 195 Bytes

Contents

module Reek
  module AST
    module SexpExtensions
      # Utility methods for :lit nodes.
      module LitNode
        def value
          children.first
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
reek-3.11 lib/reek/ast/sexp_extensions/literal.rb
reek-3.10.2 lib/reek/ast/sexp_extensions/literal.rb
reek-3.10.1 lib/reek/ast/sexp_extensions/literal.rb
reek-3.10.0 lib/reek/ast/sexp_extensions/literal.rb
reek-3.9.1 lib/reek/ast/sexp_extensions/literal.rb
reek-3.9.0 lib/reek/ast/sexp_extensions/literal.rb
reek-3.8.3 lib/reek/ast/sexp_extensions/literal.rb
reek-3.8.2 lib/reek/ast/sexp_extensions/literal.rb
reek-3.8.1 lib/reek/ast/sexp_extensions/literal.rb
reek-3.8.0 lib/reek/ast/sexp_extensions/literal.rb
reek-3.7.1 lib/reek/ast/sexp_extensions/literal.rb
reek-3.7.0 lib/reek/ast/sexp_extensions/literal.rb
reek-3.6.1 lib/reek/ast/sexp_extensions/literal.rb
reek-3.6.0 lib/reek/ast/sexp_extensions/literal.rb