require_relative '../abstract_container/structured_and_oo/end_block'

module Languages

  module Ruby

    class EndBlockRuby < Languages::EndBlock

      public

        def has_end_of_block?(pLine)
          #TODO
        end

      protected

        def detect_end(pLine)
          #TODO
        end

    # Class
    end

  # Module
  end

# Module
end

require_relative '../abstract_container/structured_and_oo/end_block'

module Languages

  module Ruby

    class EndBlockRuby < Languages::EndBlock

      public

        def has_end_of_block?(pLine)
          return detect_end(pLine)
        end

      protected

        def detect_end(pLine)
          #TODO: EXTREMELY SIMPLE HANDLING, IT HAVE TO BE IMPROVED!
          return true if pLine =~ /^\s+end|^end/
          return false
        end

    # Class
    end

  # Module
  end

# Module
end

Fix previous state bug (part 3: simple end detection)
Fix previous state bug (part 3: simple end detection)
