neri 0.9.2 → 0.9.6

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: 7b8b9f832233b4284f8fae7b0169f6d8e9f2bb2b309c9886cd93cdc8d84a73d4
4
- data.tar.gz: 3465c27fe19e8efbbd24aaf259eeb72cc5caa70c9c616c8b2e4df0a1e6736de7
3
+ metadata.gz: db3304d7a43e47d1c93dc43962118bf588a6c1f3b7a854d953f3e0d7121febdb
4
+ data.tar.gz: 7611ecaaff29fdf70b3b1e94693e5091096b8ba4fb3ca92ac3835935616bb72a
5
5
  SHA512:
6
- metadata.gz: 00a248fb2575ecc167c6131adcfa309852abc7daf5b25e870ce8c39fc89e826d8130990de79ecc5b1548307778aa37656cfd8a4342fa890ee5d524665dd2bae4
7
- data.tar.gz: d4235f7b16f22018c093202f512952f1ad2464b03454e3f31fe83e4ec4b7213a638d52d176b4aecf6b145cc4cfac2c94dfe68ed3c1eb6ade0a30209c3a9c95f7
6
+ metadata.gz: 89003370b9274c9ede6610723cdb8ec61b5452558b24f9328bad47e68d9b900831ccce480be775b739e01f6c6bd24f84e148ff88ef9d25c519199846f0640ee9
7
+ data.tar.gz: ac6d1ec8ee9c02ad027628dd1618757a4c257b1f2c9e2b5803e58414665622c172aaf36840cefce735731418b390a4bab25f6eb8598a002268686f1f27534a8e
data/lib/neri/ayame.rb CHANGED
@@ -5,12 +5,9 @@ require "ayame" unless defined? Ayame
5
5
  module Neri
6
6
  module Ayame
7
7
  def new(filename)
8
- if Neri.exist_in_datafile?(filename)
9
- ayame = load_from_memory(Neri.file_read(filename))
10
- return ayame
11
- else
12
- return super
13
- end
8
+ return super unless Neri.exist_in_datafile?(filename)
9
+
10
+ load_from_memory(Neri.file_read(filename))
14
11
  end
15
12
  end
16
13
  end