can gorilla patch methods core forms python?
ruby supplement methods array category core forms effects this:
1.should_equal(1)
but seems python can't this. true? so, why? does have something fact type can't modified?
update: rather articulate opposite definitions gorilla patching, i only concentration instance above. i have already resolved can't finished few have answered. nonetheless i some-more footnote reason since can't done, maybe feature, accessible python, grant this.
to answer you: reason i might wish simply aesthetics/readability.
item.price.should_equal(19.99)
this reads some-more english clearly indicates tested value approaching value, ostensible to:
should_equal(item.price, 19.99)
this visualisation flush frameworks formed on.
Comments
Post a Comment