n (computing|programming|in object-oriented programming) Grouping together an object’s ‘state’ (its data) and the operations that may alter or interrogate it (its methods).
[THE BOOK OF RUBY by HUW COLLINGBOURNE. Copyright © 2009 Huw Collingbourne, ‘Encapsulation’ or ‘Information Hiding’?, p. 140]