Sha256: 3e725c55c7e06eda9c083042c4fdeadd93e9800ae1176085bab252f9d1b6222d

Contents?: true

Size: 247 Bytes

Versions: 20

Compression:

Stored size: 247 Bytes

Contents

module Simplabs

  module Excellent

    module Extensions #:nodoc:

      ::Sexp.class_eval do

        def children
          sexp_body.select { |child| child.is_a?(Sexp) }
        rescue
          []
        end

      end

    end

  end

end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
simplabs-excellent-1.2.1 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.2.2 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.3.0 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.3.1 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.4.0 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.4.1 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.4.2 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.5.0 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.5.1 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.5.2 lib/simplabs/excellent/extensions/sexp.rb
simplabs-excellent-1.5.3 lib/simplabs/excellent/extensions/sexp.rb
excellent-2.1.1 lib/simplabs/excellent/extensions/sexp.rb
excellent-2.1.0 lib/simplabs/excellent/extensions/sexp.rb
excellent-2.0.1 lib/simplabs/excellent/extensions/sexp.rb
excellent-2.0.0 lib/simplabs/excellent/extensions/sexp.rb
excellent-1.7.2 lib/simplabs/excellent/extensions/sexp.rb
excellent-1.7.1 lib/simplabs/excellent/extensions/sexp.rb
excellent-1.7.0 lib/simplabs/excellent/extensions/sexp.rb
excellent-1.6.0 lib/simplabs/excellent/extensions/sexp.rb
excellent-1.5.4 lib/simplabs/excellent/extensions/sexp.rb