menilite 0.5.9 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72e4abd05e794b052428562adc72468e15b16268560f379842e5a6620b22fb4c
4
- data.tar.gz: d4c297be442f378e282fa76bee60dc8bae32b81ee9c061da4b6117d4896613fc
3
+ metadata.gz: f4bcec9241a2fc8ae5cfd6009643f2a21a115195c989f51e6a36ff53f4030b71
4
+ data.tar.gz: 4414a6c7c4710b2103bfd855e5ed20250217a0f728f795073a5b8b9bc1149929
5
5
  SHA512:
6
- metadata.gz: 6901fb0a7f88f61025fb193536f0da499e149eecf37b80386b0830af09e600fbe41b65e237c008479111f45aabf0722ccf0f173122de4647ed555ec4bb9b0b61
7
- data.tar.gz: fc36b07254df3361870d88a8a57413d8e9a8afb250454d3774bc277997e2fac6e13ba4aa15b42f7e5339bcc93e1acdac598ae4ea67dac83609bed822522f9650
6
+ metadata.gz: 44e7de221f152e963eba96024aea3ac66c710284f19ee5c396b4c870e9ea9b44e689d35023a53641e8406b8b49b338fa1ec56e0307b5b9f54f823941012dea0f
7
+ data.tar.gz: 5fb5760c86694381b68131b5d09eeb1da352720661bad291b96a1dac38f2681d8cc5193f934b2277dbbf680360c2ea6f59e0ed3d67ee542d4bad558e12d1bdf4
@@ -85,6 +85,10 @@ module Menilite
85
85
  self.class.delete(self.id, &block)
86
86
  end
87
87
 
88
+ def delete
89
+ self.class.delete(self.id)
90
+ end
91
+
88
92
  def on(event, *field_names, &block)
89
93
  field_names.each {|file_name| set_listener(event, file_name, &block) }
90
94
  end
@@ -1,3 +1,3 @@
1
1
  module Menilite
2
- VERSION = "0.5.9"
2
+ VERSION = "0.5.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: menilite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - youchan