y_nelson 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5c46a215b5094f9539d812131fe0aa61ae717db
4
- data.tar.gz: 65c06084bb72e1a9bb19433a216422b95ae9909c
3
+ metadata.gz: a5b79d5f90cf8ce405c76303325fc137073269f1
4
+ data.tar.gz: ee9d7c7dc1b075c6b8277a20908fd641087c4bee
5
5
  SHA512:
6
- metadata.gz: 92069165bb6d748f015f0ce51c7d915f222506656b3ba3f6f107124e2b93db98dc270d319a4d623e14b6976dd05d370e70e68ad9f1bc26347859929489595366
7
- data.tar.gz: 525cff552bc0eeaac275795ec9806794847581434f76f608b64343ee41b54e2fcd127ab79af29d76a19e2128304f2ee222f7d664d44a818b9ee1552a63050df8
6
+ metadata.gz: cc1c4da3adc8e947668f84cc41e057929b408f93cf5de9b28f4cb96f5dc6672f28ae33c0d956793400568dd5e951af2b3a72ccf62b3aaa36671e329861f6ea6a
7
+ data.tar.gz: dc6b5518bb76ef200161ff0edc19988b4984eae6cb001136ffe27e6ae3ab4dd57c2a674c1d5210dfb8fb30a78badaac189175633bfaf952782e7a0dfe69340a2
@@ -1,3 +1,4 @@
1
+
1
2
  # YNelson::Place is analogical to a spreadsheet cell. It is based on
2
3
  # YPetri::Place and offers simlar interace.
3
4
  #
@@ -28,4 +29,18 @@ class YNelson::Place < YPetri::Place
28
29
  end
29
30
  alias :>> :bud
30
31
  end
32
+
33
+ # Produces the inspect string of the place.
34
+ #
35
+ def inspect
36
+ # Calling the ancestor's #inspect.
37
+ YPetri::Place.instance_method( :inspect ).bind( self ).call
38
+ end
39
+
40
+ # Returns a string briefly describing the place.
41
+ #
42
+ def to_s
43
+ # Calling the ancestor's #to_s
44
+ YPetri::Place.instance_method( :to_s ).bind( self ).call
45
+ end
31
46
  end
@@ -29,4 +29,17 @@ class YNelson::Transition < YPetri::Transition
29
29
  }
30
30
  super
31
31
  end
32
+
33
+ # Produces the inspect string of the place.
34
+ #
35
+ def inspect
36
+ # Calling the ancestor's #inspect.
37
+ YPetri::Transition.instance_method( :inspect ).bind( self ).call
38
+ end
39
+
40
+ # Returns a string briefly describing the place.
41
+ #
42
+ def to_s
43
+ YPetri::Transition.instance_method( :to_s ).bind( self ).call
44
+ end
32
45
  end
@@ -1,4 +1,4 @@
1
1
  module YNelson
2
2
  DEBUG = false
3
- VERSION = "2.0.4"
3
+ VERSION = "2.0.5"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: y_nelson
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - boris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-22 00:00:00.000000000 Z
11
+ date: 2013-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yzz