{"categories":["Ruby"],"author_name":"osyo-manga","description":"Ruby 2.3 \u304b\u3089 Numeric#positive? \u3068 Numeric#negative? \u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002 \u3053\u308c\u306f\u305d\u308c\u305e\u308c self > 0 \u3068 self < 0 \u3092\u8fd4\u3057\u307e\u3059\u3002 p 42.positive? # => true p -42.positive? # => fasle p 42.negative? # => false p -42.negative? # => true p 0.positive? # => false p 0.negative? # => false Rubocop \u3067\u306f Ruby 2.3 \u3092\u4f7f\u3063\u3066\u308b\u3068 value > 0 \u304c value.positi\u2026","title":"Ruby 2.3 \u306e Numeric#positive? \u3068 Numeric#negative?","blog_title":"Secret Garden(Instrumental)","blog_url":"https://secret-garden.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/osyo-manga/","type":"rich","width":"100%","provider_name":"Hatena Blog","height":"190","image_url":null,"published":"2016-08-26 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2016%2F08%2F26%2F000000\" title=\"Ruby 2.3 \u306e Numeric#positive? \u3068 Numeric#negative? - Secret Garden(Instrumental)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://secret-garden.hatenablog.com/entry/2016/08/26/000000","provider_url":"https://hatena.blog","version":"1.0"}