Sha256: 6b05c5348a94a46f97cb1a3e7c3a585bb1ae832245ee6ac9c507cf750ea6f1b8

Contents?: true

Size: 521 Bytes

Versions: 2

Compression:

Stored size: 521 Bytes

Contents

  def compile_classes(input_file_contents)

    # Nila will have support for classes. But the current implementation is not ready for prime time
    # yet. So it won't be documented.

    def extract_classes(file_contents)

      # This method will extract code blocks between class .. end blocks and try to convert to
      # Javascript equivalent code

      possible_classes = file_contents.reject {|element| !element.index(/class\s*\w{1,}\s*<?\s?\w{1,}?/)}



    end

    extract_classes(input_file_contents)

  end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.6 lib/nilac/compile_classes.rb
nilac-0.0.4.3.9.5 lib/nilac/compile_classes.rb