README.md in sinclair-1.3.1 vs README.md in sinclair-1.3.2

- old
+ new

@@ -12,11 +12,11 @@ that enables creation of methods on the fly through class methods Yard Documentation ------------------- -https://www.rubydoc.info/gems/sinclair/1.3.1 +https://www.rubydoc.info/gems/sinclair/1.3.2 Installation --------------- - Install it @@ -312,11 +312,12 @@ ```ruby class MyConfigurable extend Sinclair::Configurable - configurable_with :host, :port + # port is defaulted to 80 + configurable_with :host, port: 80 end MyConfigurable.configure do |config| config.host 'interstella.art' config.port 5555 @@ -326,10 +327,10 @@ MyConfigurable.config.port # returns 5555 MyConfigurable.reset_config MyConfigurable.config.host # returns nil - MyConfigurable.config.port # returns nil + MyConfigurable.config.port # returns 80 ``` RSspec matcher ---------------