something

Ruby code posted
created at 07 Dec 06:24, updated at 18 Dec 07:13

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
      hahahahahahahha
      <code lang='ruby'>
        class Post
          include Mongoid::Document
          identity :type => String
          field :title
          field :body
          field :published_at, :type => DateTime
          def url
            "/posts/#{id}"
          end
          def coderay
              CodeRay.scan($3, $2).div
            end
          end
        end
      </code>
      heiheiheihei
      hahahahahahahha
      <code lang='ruby'>
        class Post
          include Mongoid::Document
          identity :type => String
          field :title
          field :body
          field :published_at, :type => DateTime
          def url
            "/posts/#{id}"
          end
          def coderay
              CodeRay.scan($3, $2).div
            end
          end
        end
      </code>
      heiheiheihei
888 Bytes in 2 ms with coderay