Not wild experiments.

Will reader view work?

I want to enable reader view in safari browser on my phone.

Text after spoiler. I hope it will trigger reader view in safari. Anw I wounder, how many paragraphs of text should be in article to trigger it?

I’m not sure if code block will help or not. But I’ll try:

module Pod
  class UnknownAttribute < NoMethodError
    attr_reader :object, :name

    def initialize(object, name)
      @object = object
      @name = name
      super("unknown attribute '#{name}' for #{@object.class}.")
    end
  end
end

I think it will work. All ruby code works, why this shouldn’t?.. Let’s try to highlight some lines in ruby code:

1
2
3
4
5
6
7
8
9
10
11
module Pod
  class UnknownAttribute < NoMethodError
    attr_reader :object, :name

    def initialize(object, name)
      @object = object
      @name = name
      super("unknown attribute '#{name}' for #{@object.class}.")
    end
  end
end

Nope, you can’t highlight lines, documentation is lying!

Ok, hope it will be enough.