module Buoys
  class Link
    attr_accessor :text, :url, :options
    attr_reader :current

    def initialize(text, url, options)
      @text, @url, @options = text, url, options
    end

    def mark_as_current!
      @current = true
    end

    def current?
      !!@current
    end
  end
end

module Buoys
  class Link
    attr_accessor :text, :options
    attr_reader :current

    def initialize(text, url, options)
      @text, @_url, @options = text, url, options
    end

    def mark_as_current!
      @current = true
    end

    def current?
      !!@current
    end

    def url
      current? ? '' : @_url
    end

    def url=(str)
      @_url = str
    end
  end
end

Redefine url and url= methods
Redefine url and url= methods

To return '' when Buoys::Link#current is true
